/* Frontend Dashboard Styles for Instructor-Student Link */

/* ========================================
   MY INSTRUCTOR PAGE - Student View
   ======================================== */

.ednoor-instructor-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ednoor-instructor-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e5e7eb;
}

.ednoor-instructor-avatar {
    flex-shrink: 0;
}

.ednoor-instructor-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.ednoor-instructor-info {
    flex: 1;
    min-width: 0;
}

.ednoor-instructor-name {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.ednoor-instructor-title {
    font-size: 14px;
    font-weight: 500;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0;
}

.ednoor-instructor-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ednoor-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6b7280;
}

.ednoor-contact-item span {
    font-size: 16px;
    color: #9ca3af;
    width: 20px;
}

.ednoor-contact-item a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
}

.ednoor-contact-item a:hover {
    color: #6366f1;
}

.ednoor-instructor-bio {
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
}

.ednoor-instructor-bio h4 {
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0;
}

.ednoor-instructor-bio p {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

.ednoor-instructor-actions {
    padding: 24px 32px;
    display: flex;
    gap: 12px;
}

.ednoor-instructor-actions .tutor-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ednoor-instructor-courses {
    margin-top: 32px;
}

/* ========================================
   MY STUDENTS PAGE - Instructor View
   ======================================== */

.ednoor-isl-students-summary {
    display: flex;
    gap: 20px;
}

.ednoor-isl-students-summary .tutor-card {
    display: flex;
    align-items: center;
}

/* ========================================
   SHARED STYLES
   ======================================== */

.tutor-no-data-found {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px dashed #e5e7eb;
}

.tutor-no-data-found img {
    max-width: 180px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.tutor-no-data-found p {
    color: #6b7280;
    font-size: 16px;
    margin: 0;
}

/* Avatar styles in table */
.tutor-avatar-sm img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Gap utilities */
.tutor-gap-1 {
    gap: 0.25rem;
}

.tutor-gap-2 {
    gap: 0.5rem;
}

.tutor-gap-3 {
    gap: 0.75rem;
}

.tutor-gap-4 {
    gap: 1rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .ednoor-instructor-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px;
    }
    
    .ednoor-instructor-avatar img {
        width: 100px;
        height: 100px;
    }
    
    .ednoor-instructor-name {
        font-size: 20px;
    }
    
    .ednoor-instructor-contact {
        align-items: center;
    }
    
    .ednoor-instructor-bio,
    .ednoor-instructor-actions {
        padding: 20px 24px;
    }
    
    .ednoor-instructor-actions {
        justify-content: center;
    }
    
    .ednoor-instructor-bio p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ednoor-instructor-header {
        padding: 20px 16px;
    }
    
    .ednoor-instructor-bio,
    .ednoor-instructor-actions {
        padding: 16px;
    }
    
    .ednoor-contact-item {
        font-size: 13px;
    }
}
