
/* =========================================================
    STUDENT SINGLE PROFILE DETAILS CLEAN ARCHITECTURE
========================================================= */
.student-profile-details-area {
    position: relative;
    padding: 100px 0;
    background: #fafafc;
    overflow: hidden;
}

/* Background Abstract Aesthetics */
.profile-bg-glow-1 {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: rgba(15, 83, 161, 0.03);
    border-radius: 50%;
    blur: 120px;
    filter: blur(100px);
    pointer-events: none;
}

.profile-bg-glow-2 {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 108, 12, 0.03);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

/* Modern Asymmetric Flex/Grid Wrapper */
.student-profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .student-profile-grid {
        grid-template-columns: 360px 1fr;
        gap: 50px;
    }
}

/* =========================================================
    LEFT COLUMN: SIDEBAR CARD STYLING
========================================================= */
.profile-sidebar-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 32px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.04);
}

.profile-avatar-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
}

.avatar-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, #0f53a1, #ff6c0c);
}

.avatar-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    background: #f8fafc;
}

.profile-identity-info h3 {
    font-size: 26px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.profile-identity-info .branch-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 20px;
}

.profile-identity-info .branch-tag i {
    font-size: 18px;
    color: #0f53a1;
}

.class-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    color: #ea580c;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 800;
}

/* =========================================================
    RIGHT COLUMN: DATA PANEL STYLING
========================================================= */
.profile-information-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 32px;
    padding: 35px;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.03);
}

.panel-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 24px;
    margin-bottom: 30px;
}

.panel-title-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.panel-icon {
    width: 52px;
    height: 52px;
    background: rgba(15, 83, 161, 0.06);
    color: #0f53a1;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.panel-title-wrapper h4 {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
}

.panel-title-wrapper p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Data Row Elements Structural Logic */
.info-group-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-data-row {
    display: grid;
    grid-template-columns: 1fr;
    padding: 18px 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
}

@media (min-width: 576px) {
    .info-data-row {
        grid-template-columns: 200px 1fr;
        gap: 30px;
    }
}

.info-data-row:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.data-label {
    font-size: 16px;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
}

.data-label i {
    font-size: 18px;
}

.data-value {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.6;
}

/* Core Highlights Overrides */
.core-row {
    background: rgba(15, 83, 161, 0.02);
    border-color: rgba(15, 83, 161, 0.12);
}

.dot-indicator {
    width: 8px;
    height: 8px;
    background: #0f53a1;
    border-radius: 50%;
    display: inline-block;
}

.font-highlight {
    color: #0f53a1;
    font-weight: 800;
}

/* Talent Highlight Modifiers */
.highlighted-talent {
    background: #fffbf7;
    border-color: #fed7aa;
}

.highlighted-talent:hover {
    background: #fff7ed;
    border-color: #fdba74;
}

.highlighted-talent .data-label {
    color: #c2410c;
}

.highlighted-talent .data-value {
    color: #9a3412;
    font-weight: 700;
}

/* Empty State Handling UI */
.empty-talents-notice {
    padding: 40px;
    text-align: center;
    color: #94a3b8;
}

.empty-talents-notice i {
    font-size: 40px;
    margin-bottom: 10px;
}

.empty-talents-notice p {
    font-size: 15px;
    margin: 0;
}

/* Footer Section / Action Area */
.panel-footer-action {
    margin-top: 35px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-start;
}

.back-to-list-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    color: #475569;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none !important;
}

.back-to-list-btn:hover {
    background: #0f53a1;
    color: #fff !important;
    transform: translateX(-3px);
    box-shadow: 0 8px 20px rgba(15, 83, 161, 0.15);
}

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

@media (max-width: 1200px) {
    .student-details-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .branch-hero-wrapper {
        grid-template-columns: 1fr;
    }

    .branch-image img {
        height: 380px;
    }

    .student-details-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .student-details-wrapper,
    .stats-wrapper {
        grid-template-columns: 1fr;
    }

    .branch-content h1 {
        font-size: 38px;
    }

    .student-filter-box {
        padding: 25px;
    }

    .filter-item {
        width: 100%;
    }

    .filter-item select,
    .filter-item button {
        width: 100%;
    }

    .branch-buttons {
        flex-direction: column;
    }
}