/* Custom styles to match the provided instructor detail UI */

/* Play button in the video placeholder */
.btn-play {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background-color: #0d6efd;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.btn-play .play-dot {
    display: block;
    width: 0;
    height: 0;
    border-left: 16px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
}

/* Tighten card gaps to match design */
.mb-30 {
    margin-bottom: 30px !important;
}

/* Follow button color to match dark-blue CTA in design */
.btn-follow {
    background-color: #173b72; /* Approx. from screenshot */
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-weight: 600;
}
.btn-follow:hover {
    background-color: #0f2b55;
    color: #fff;
}

/* Right stats list - remove default borders between first & last */
.custom-stats-list .list-group-item {
    border-left: 0;
    border-right: 0;
}
.custom-stats-list .list-group-item:first-child {
    border-top: 0;
}
.custom-stats-list .list-group-item:last-child {
    border-bottom: 0;
}

/* Overlay testing utility */
.design-overlay-toggle {
    position: fixed;
    top: 80px;
    right: 16px;
    z-index: 1055;
}
.design-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("/images/mock/instructor-profile.png") top center no-repeat;
    background-size: cover;
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: normal;
}

/* Profile Tabs Styling to match design */
#profileTabs {
    border-bottom: 1px solid #f2f3f5;
    background: #f2f3f5;
    border-radius: 10px !important;
}

#profileTabs .nav-link {
    color: #6b7280;
    font-weight: 500;
    font-size: 14px;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent !important;
    padding: 8px 16px !important;
    width: 33%;
    border-radius: 10px;
}

.instructor-details-area .instructor-info-box {
    border: #f0f5f2;
    background: #f0f5f2 !important;
    padding: 10px !important;
}

#profileTabs .nav-link:hover {
    color: #374151;
    border-color: transparent;
}

#profileTabs .nav-link.active {
    color: #1d407d;
    font-weight: 600;
    background: white !important;
    border: 2px solid #f2f4f5 !important;
}

/* Certifications Table Styling */
.certifications-table .table {
    margin-bottom: 0;
}

.certifications-table .table thead th {
    border-bottom: 1px solid #e5e7eb;
    font-weight: 500;
    font-size: 14px;
    color: #6b7280;
    padding: 12px 16px;
}

.certifications-table .table tbody td {
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: top;
    line-height: 1.5;
}

.certifications-table .table tbody tr:last-child td {
    border-bottom: none;
}

.certifications-table .table tbody td:first-child {
    font-weight: 500;
    color: #111827;
}

.certifications-table .table tbody td:last-child {
    color: #6b7280;
    font-size: 14px;
}

/* Tab content styling */
.tab-content {
    background-color: #fff;
}

/* Sort icons in table headers */
.table th svg {
    opacity: 0.5;
    transition: opacity 0.2s;
}

.table th:hover svg {
    opacity: 0.8;
}

/* Awards card styling */
.awards-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #fff;
    transition: box-shadow 0.2s;
}

.awards-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Course cards styling */
.course-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.course-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.course-card .badge {
    font-size: 12px;
    font-weight: 500;
}

/* Empty state styling */
.empty-state {
    color: #9ca3af;
    text-align: center;
}

.empty-state svg {
    opacity: 0.6;
    margin-bottom: 16px;
}

/* Instructor Stats Card Styling */
.instructor-stats-card .card {
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.instructor-stats-card .stat-item {
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.instructor-stats-card .stat-item:hover {
    background-color: #ffffff;
}

.instructor-stats-card .stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f1f5f9;
    border-radius: 8px;
    flex-shrink: 0;
}

.instructor-stats-card .stat-icon svg {
    opacity: 0.8;
}

.instructor-stats-card .stat-content {
    flex: 1;
}

.instructor-stats-card .stat-number {
    line-height: 1.2;
    margin-bottom: 2px;
    font-size: 14px !important;
    color: gray !important;
}

.instructor-stats-card .stat-label {
    line-height: 1.2;
    font-weight: 500;
}

.instructor-stats-card .stat-value {
    line-height: 1.3;
}

/* Follow button hover effect */
.follow-button-container .btn:hover {
    background-color: #2d3748 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
