:root {
    /* Brand Colors - Sophisticated Indigo & Emerald */
    --primary-green: #4f46e5;         /* Deep Indigo */
    --primary-green-hover: #4338ca;   /* Darker Indigo */
    --white: #ffffff;
    
    /* Neutral Palette - Clean Slate */
    --text-dark: #0f172a;             /* Deep Navy Text */
    --text-gray: #64748b;             /* Soft Slate for secondary text */
    --border-color: #e2e8f0;          /* Subtle Border */
    
    /* Semantic Colors */
    --error-color: #ef4444;           /* Vibrant Red */
    --success-color: #10b981;         /* Crisp Emerald */
    
    /* Elevation - Layered Shadows for "Gorgeous" depth */
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
    
    /* Premium Accents */
    --premium-gold: #f59e0b;          /* Amber Gold */
    --premium-purple: #8b5cf6;        /* Royal Violet */
    
    /* Gradients */
  	--gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
	--gradient-premium: linear-gradient(135deg, #1d4ed8, #60a5fa);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: var(--white);
}

.auth-card {
    width: 100%;
    max-width: 450px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-gray);
    font-size: 16px;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background-color: #fee2e2;
    color: var(--error-color);
    border: 1px solid #fecaca;
}

.alert-success {
    background-color: #d1fae5;
    color: var(--success-color);
    border: 1px solid #a7f3d0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.06);
}

.form-group small {
    font-size: 12px;
    color: var(--text-gray);
}

.role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.role-option input[type="radio"] {
    display: none;
}

.role-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background-color: var(--white);
}

.role-option input[type="radio"]:checked + .role-card {
    border-color: var(--primary-green);
    background-color: rgba(79, 70, 229, 0.06);
}

.role-card:hover {
    border-color: var(--primary-green);
}

.role-icon {
    width: 32px;
    height: 32px;
    stroke-width: 2;
    color: var(--primary-green);
}

.role-card span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.password-strength {
    height: 4px;
    border-radius: 2px;
    background-color: var(--border-color);
    margin-top: 4px;
    transition: all 0.3s;
}

.password-strength.weak {
    width: 33%;
    background-color: var(--error-color);
}

.password-strength.medium {
    width: 66%;
    background-color: #f59e0b;
}

.password-strength.strong {
    width: 100%;
    background-color: var(--success-color);
}

.form-options {
    display: flex;
    justify-content: flex-end;
    margin-top: -10px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-green-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-block {
    width: 100%;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #f9fafb;
}

.link-primary {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 14px;
}

.link-primary:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.auth-footer p {
    font-size: 14px;
    color: var(--text-gray);
}

.auth-footer a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.header-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
}

.search-bar {
    flex: 1;
    max-width: 600px;
    margin: 0 40px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 10px 40px 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    font-size: 14px;
    background-color: var(--white);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.06);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
}

.search-results .search-section {
    padding: 12px;
}

.search-results .search-section-title {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.search-results .search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background-color 0.2s;
}

.search-results .search-item:hover {
    background-color: rgba(79, 70, 229, 0.06);
}

.search-results .search-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.search-results .search-info {
    flex: 1;
}

.search-results .search-title {
    font-weight: 500;
    margin-bottom: 2px;
}

.search-results .search-subtitle {
    font-size: 12px;
    color: var(--text-gray);
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-gray);
    pointer-events: none;
}

/* Mobile search improvements */
@media (max-width: 768px) {
    .search-results {
        position: fixed;
        top: 60px;
        left: 10px;
        right: 10px;
        max-height: 300px;
        border-radius: 8px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
    
    .search-results .search-item {
        padding: 12px;
    }
    
    .search-results .search-avatar {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    
    .search-results .search-title {
        font-size: 14px;
    }
    
    .search-results .search-subtitle {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .search-results {
        top: 56px;
        left: 5px;
        right: 5px;
        max-height: 250px;
    }
    
    .search-results .search-item {
        padding: 10px;
    }
    
    .search-results .search-avatar {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
    
    .search-results .search-title {
        font-size: 13px;
    }
    
    .search-results .search-subtitle {
        font-size: 10px;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.icon-btn:hover {
    background-color: rgba(79, 70, 229, 0.06);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
    color: var(--text-dark);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.main-layout {
    display: flex;
    margin-top: 60px;
    min-height: calc(100vh - 60px);
}

.sidebar {
    width: 240px;
    background-color: var(--white);
    border-right: 1px solid var(--border-color);
    padding: 20px 0;
    position: fixed;
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 4px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background-color: rgba(79, 70, 229, 0.06); /* Ultra-soft Indigo tint */
    color: var(--primary-green);
	
}

.sidebar-nav svg {
    width: 20px;
    height: 20px;
}

.content {
    flex: 1;
    margin-left: 240px;
    padding: 20px;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.video-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background-color: #f3f4f6;
}

.video-info {
    padding: 12px;
}

.video-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    font-size: 12px;
    color: var(--text-gray);
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.badge-free {
    background-color: #d1fae5;
    color: var(--success-color);
}

.badge-paid {
    background-color: #fef3c7;
    color: #f59e0b;
}

.badge-live {
    background-color: #fee2e2;
    color: var(--error-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: rgba(79, 70, 229, 0.06);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 8px 0;
    z-index: 1000;
}

.bottom-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--primary-green);
}

.bottom-nav-item svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.2s;
    }
    
    .mobile-menu-toggle:hover {
        background-color: rgba(79, 70, 229, 0.06);
    }
    
    .mobile-menu-toggle svg {
        width: 24px;
        height: 24px;
        color: var(--text-dark);
    }
    
    .content {
        margin-left: 0;
        padding-bottom: 80px;
    }
    
    .bottom-nav {
        display: block;
    }
    
    .header-content {
        padding: 0 12px;
        height: 60px;
    }
    
    .search-bar {
        margin: 0 12px;
        flex: 1;
        max-width: 200px;
        display: flex;
    }
    
    .search-bar input {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .auth-card {
        padding: 30px 20px;
        margin: 20px;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    /* Section Headers Mobile */
    .section-header {
        text-align: center;
        margin-bottom: 24px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Cards Mobile */
    .card {
        margin-bottom: 16px;
        border-radius: 12px;
    }
    
    .video-card,
    .course-card,
    .test-card,
    .session-card,
    .mentorship-card,
    .pdf-document-card {
        margin-bottom: 16px;
    }
    
    .video-thumbnail,
    .course-thumbnail,
    .session-thumbnail {
        border-radius: 12px 12px 0 0;
    }
    
    /* Buttons Mobile */
    .btn {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 8px;

        margin-bottom: 8px;
    }
    
    .btn-secondary {
        background-color: #f3f4f6;
        color: var(--text-dark);
    }
    
    /* Modal Mobile */
    .modal-content {
        margin: 20px;
        border-radius: 12px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .payment-modal-content {
        margin: 20px;
        border-radius: 12px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    /* Payment Gateway Mobile */
    .gateway-option {
        padding: 16px;
        margin-bottom: 12px;
        border-radius: 8px;
    }
    
    .gateway-info h4 {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .gateway-info p {
        font-size: 14px;
    }
    
    /* Forms Mobile */
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
        border-radius: 8px;
		
    }
    
    /* Tables Mobile */
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 8px;
    }
    
    /* Stats Mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-item {
        padding: 16px;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Navigation Mobile */
    .bottom-nav-items {
        display: flex;
        justify-content: space-around;
        padding: 8px 0;
    }
    
    .bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px;
        text-decoration: none;
        color: var(--text-gray);
        transition: color 0.2s;
        font-size: 12px;
    }
    
    .bottom-nav-item.active {
        color: var(--primary-green);
    }
    
    .bottom-nav-item svg {
        width: 20px;
        height: 20px;
        margin-bottom: 4px;
    }
    
    /* Mentors Section Mobile */
    .achievers-grid,
    .videos-grid,
    .test-series-grid,
    .live-sessions-grid,
    .mentorship-grid,
    .pdf-documents-grid,
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .achiever-card,
    .video-card,
    .test-card,
    .session-card,
    .mentorship-card,
    .pdf-document-card,
    .post-card {
        width: 100%;
    }
    
    /* Video Player Mobile */
    .video-player iframe {
        height: 200px;
    }
    
    /* Payment Modal Mobile */
    .payment-amount h2 {
        font-size: 1.8rem;
    }
    
    .payment-gateways {
        max-height: 60vh;
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 8px;
        height: 56px;
    }
    
    .header-logo {
        font-size: 18px;
    }
    
    .search-bar {
        margin: 0 8px;
        max-width: 150px;
        display: none; /* Hide search on very small screens */
    }
    
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
    
    .card {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .btn {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .modal-content {
        margin: 12px;
        border-radius: 8px;
    }
    
    .payment-modal-content {
        margin: 12px;
        border-radius: 8px;
    }
    
    .auth-card {
        padding: 24px 16px;
        margin: 12px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .stat-item {
        padding: 12px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Video Cards Small Mobile */
    .video-info h3,
    .course-info h3,
    .test-info h3 {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .video-meta,
    .course-meta {
        font-size: 12px;
    }
    
    .price {
        font-size: 14px;
    }
    
    /* Payment Gateway Small Mobile */
    .gateway-option {
        padding: 12px;
    }
    
    .gateway-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .gateway-info h4 {
        font-size: 14px;
    }
    
    .gateway-info p {
        font-size: 12px;
    }
    
    .gateway-arrow {
        font-size: 16px;
    }
    
    /* Bottom Navigation Small Mobile */
    .bottom-nav-item {
        padding: 6px;
        font-size: 10px;
    }
    
    .bottom-nav-item svg {
        width: 18px;
        height: 18px;
    }
    
    /* Tables Small Mobile */
    .data-table {
        font-size: 12px;
    }
    
    .data-table th,
    .data-table td {
        padding: 6px;
    }
    
    /* Mentor Cards Small Mobile */
    .achiever-info h3,
    .mentor-info h3 {
        font-size: 14px;
    }
    
    .achiever-specialization,
    .mentor-specialization {
        font-size: 12px;
    }
    
    .achiever-bio,
    .mentor-bio {
        font-size: 12px;
    }
    
    .achiever-stats span,
    .mentor-stats span {
        font-size: 11px;
    }
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
}

.profile-info h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.profile-info p {
    font-size: 14px;
    color: var(--text-gray);
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mentor-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s;
    cursor: pointer;
}

.mentor-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.mentor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.mentor-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.mentor-info p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.mentor-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-gray);
}

.table {
    width: 100%;
    border-collapse: collapse;
	min-width: 400px;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    font-weight: 600;
    color: var(--text-dark);
    background-color: #f9fafb;
}

.table td {
    color: var(--text-gray);
}

.table tr:hover {
    background-color: rgba(79, 70, 229, 0.06);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    padding: 20px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
	
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;

}

.stat-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-green);
	stroke-width: 2;     /* Makes the icon look crisp */
    display: block;      /* Removes inline whitespace */
}

/* ========================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ======================================== */

/* Tablet and below (max-width: 1024px) */


/* Mobile and below (max-width: 768px) */
@media (max-width: 768px) {
    .header {
        padding: 12px 16px;
    }
    
    .header-left {
        gap: 12px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .search-bar {
        margin: 0 8px;
        max-width: 150px;
        flex: 1;
    }
    
    .sidebar {
        position: fixed;
        left: -240px;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .content {
        margin-left: 0;

    }

    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .table {
        font-size: 12px;
    }
    
    .table th,
    .table td {
        padding: 8px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .btn {

        justify-content: center;
    }
    
    .btn-block {
        width: 100%;
    }
    
    .mentor-card {
        flex-direction: column;
        text-align: center;
    }
    
    .mentor-avatar {
        margin: 0 auto;
    }
    
    .mentor-stats {
        justify-content: center;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .video-feed {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .profile-avatar {
        margin: 0 auto;
    }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
    .header {
        padding: 10px 12px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .header-right {
        gap: 8px;
    }
    
    .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .content {
        padding: 12px;
    }
    
    .card {
        padding: 12px;
        border-radius: 8px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .table {
        font-size: 11px;
    }
    
    .table th,
    .table td {
        padding: 6px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
        padding: 10px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    h3 {
        font-size: 16px;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .sidebar {
        width: 200px;
        left: -200px;
    }
    
    .content {
        padding: 12px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Print styles */
@media print {
    .header,
    .sidebar,
    .btn,
    .footer {
        display: none;
    }
    
    .content {
        margin-left: 0;
        padding: 0;
    }
    
    .card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Message Badge */
.message-badge {
    background-color: #ef4444;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    margin-left: auto;
    min-width: 18px;
    text-align: center;
    display: inline-block;
}

/* ===== PREMIUM HOMEPAGE STYLES ===== */

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    border-radius: 16px;
    padding: 60px 40px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-title svg {
    width: 32px;
    height: 32px;
    color: var(--primary-green);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* 1. Real-Life Achievers Section */
.achievers-section {
    margin-bottom: 60px;
}

.achievers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.achiever-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.achiever-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.achiever-image {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.achiever-image img,
.achiever-image .avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
}

.achiever-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 28px;
    height: 28px;
    background: var(--premium-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

.achiever-badge svg {
    width: 16px;
    height: 16px;
}

.achiever-info {
    text-align: center;
}

.achiever-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.achiever-specialization {
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 12px;
}

.achiever-bio {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.achiever-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.achiever-stats span {
    padding: 4px 8px;
    background: #f3f4f6;
    border-radius: 8px;
}

.achiever-stats strong {
    color: var(--text-dark);
}

/* 2. Masterclass Videos Section */
.masterclass-section {
    margin-bottom: 60px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.video-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-card.premium {
    border-color: var(--premium-gold);
}

.video-thumbnail-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    max-height: 135px;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-info {
    padding: 12px;
}

.video-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

.video-mentor {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.price {
    font-weight: 600;
    color: var(--primary-green);
}

.price.free {
    color: var(--text-gray);
}

.views {
    color: var(--text-gray);
}

.video-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-badge {
    background: var(--gradient-premium);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 4px;
}

.premium-badge svg {
    width: 12px;
    height: 12px;
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.video-info {
    padding: 16px;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-mentor {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.price {
    font-weight: 700;
    font-size: 0.9rem;
}

.price.free {
    color: var(--success-color);
}

.views {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* 3. Test Series Section */
.test-series-section {
    margin-bottom: 60px;
}

.test-series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.test-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.test-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.test-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.test-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.test-icon svg {
    width: 24px;
    height: 24px;
}

.test-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.test-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.course-name {
    color: var(--primary-green) !important;
    font-weight: 500 !important;
    margin-top: 4px !important;
}

.test-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.test-stats {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.test-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.attempts-info {
    font-size: 0.75rem;
    color: var(--text-gray);
}

/* 4. Handwritten Notes Section */
.notes-section {
    margin-bottom: 60px;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.note-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.note-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.note-preview {
    position: relative;
    aspect-ratio: 3/4;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.note-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.note-placeholder {
    color: var(--text-gray);
}

.note-placeholder svg {
    width: 64px;
    height: 64px;
}

.note-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--error-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.note-info {
    padding: 16px;
}

.note-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.note-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.note-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.note-price {
    text-align: right;
}

/* 5. Live Sessions Section */
.live-sessions-section {
    margin-bottom: 60px;
}

.live-sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.session-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.session-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.session-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.session-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--error-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulse 2s infinite;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.upcoming-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-green);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.upcoming-indicator svg {
    width: 12px;
    height: 12px;
}

.session-info {
    padding: 16px;
}

.session-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.session-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.session-details {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.session-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.registered {
    background: var(--success-color);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 6. One-to-One Mentorship Section */
.mentorship-section {
    margin-bottom: 60px;
}

.mentorship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.mentorship-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.mentorship-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--premium-gold);
}

.mentor-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.mentor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.mentor-avatar img,
.mentor-avatar .avatar-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.mentor-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.mentor-details p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.completed-sessions {
    color: var(--success-color) !important;
    font-weight: 500 !important;
    font-size: 0.85rem !important;
}

.package-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.package-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.package-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.duration {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.mentorship-action {
    text-align: center;
}

/* 7. Posts by Mentors Section */
.posts-section {
    margin-bottom: 60px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.post-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.post-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img,
.author-avatar .avatar-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
}

.author-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.post-date {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.type-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.type-badge.article {
    background: #e3f2fd;
    color: #1976d2;
}

.type-badge.update {
    background: #f3e5f5;
    color: #7b1fa2;
}

.type-badge.announcement {
    background: #fff3e0;
    color: #f57c00;
}

.post-content {
    padding: 0 16px 16px;
}

.post-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
}

.post-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.post-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-footer {
    padding: 16px;
    border-top: 1px solid var(--border-color);
}

.post-stats {
    display: flex;
    gap: 20px;
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.post-stats svg {
    width: 16px;
    height: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .section-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .achievers-grid,
    .videos-grid,
    .test-series-grid,
    .notes-grid,
    .live-sessions-grid,
    .mentorship-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .test-stats {
        flex-direction: column;
        gap: 4px;
    }
    
    .package-details {
        flex-direction: column;
        gap: 8px;
        text-align: left;
    }
}

/* ===== MENTOR PROFILE PAGE STYLES ===== */

/* Mentor Hero Section */
.mentor-hero-section {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.mentor-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.mentor-header-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.mentor-profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mentor-avatar-large {
    position: relative;
    width: 150px;
    height: 150px;
    margin-bottom: 24px;
}

.mentor-avatar-large img,
.mentor-avatar-large .avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.mentor-badge-large {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 40px;
    height: 40px;
    background: var(--premium-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    border: 3px solid var(--white);
}

.mentor-badge-large svg {
    width: 20px;
    height: 20px;
}

.mentor-info {
    max-width: 400px;
}

.mentor-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mentor-specialization {
    font-size: 1.2rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.mentor-email {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.mentor-bio {
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.mentor-bio p {
    margin: 0;
    line-height: 1.6;
}

.mentor-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.mentor-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-card .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mentor Journey Section */
.mentor-journey-section {
    margin-top: 40px;
    text-align: center;
}

.journey-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.journey-video {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.journey-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-journey-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-green);
}

.play-journey-btn:hover {
    background: var(--white);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-journey-btn svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

/* Mentor Description Section */
.mentor-description-section {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.mentor-description-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.description-content {
    line-height: 1.8;
    color: var(--text-gray);
}

.description-content p {
    margin-bottom: 16px;
}

/* Mentorship Packages Section */
.mentorship-packages-section {
    margin-bottom: 60px;
}

.mentorship-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.mentorship-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--premium-gold);
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 16px;
}

.package-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.package-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.package-details p {
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.5;
}

.package-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.package-meta .duration {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.package-meta .completed {
    color: var(--success-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.package-action {
    text-align: center;
}

/* Courses Grid for Profile */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.course-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.course-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-thumbnail img {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.course-badge.free {
    background: var(--success-color);
    color: var(--white);
}

.course-badge.paid {
    background: var(--primary-green);
    color: var(--white);
}

.course-info {
    padding: 16px;
}

.course-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
}

.course-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Responsive Design for Mentor Profile */
@media (max-width: 1200px) {
    .mentor-header-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .mentor-profile-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .mentor-info {
        max-width: 100%;
        text-align: center;
    }
    
    .mentor-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .mentor-header-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .mentor-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mentor-name {
        font-size: 2rem;
    }
    
    /* Grid adjustments for tablets */
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .videos-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 18px;
    }
    
    .test-series-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .notes-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }
    
    .mentorship-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 20px;
    }
    
    .posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mentor-hero-section {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .mentor-avatar-large {
        width: 100px;
        height: 100px;
    }
    
    .mentor-avatar-large .avatar-placeholder {
        font-size: 2rem;
    }
    
    .mentor-badge-large {
        width: 32px;
        height: 32px;
        top: -6px;
        right: -6px;
    }
    
    .mentor-badge-large svg {
        width: 16px;
        height: 16px;
    }
    
    .mentor-name {
        font-size: 1.6rem;
        margin-bottom: 6px;
    }
    
    .mentor-specialization {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .mentor-email {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .mentor-bio {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .mentor-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 20px;
    }
    
    .stat-card {
        padding: 16px 12px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .mentor-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 24px;
    }
    
    .mentor-actions .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    /* Journey Video Section */
    .mentor-journey-section {
        margin-top: 30px;
    }
    
    .journey-title {
        font-size: 1.3rem;
        margin-bottom: 16px;
        text-align: center;
    }
    
    .journey-video {
        max-width: 100%;
        margin: 0 auto;
    }
    
    /* Section Headers */
    .section-header {
        text-align: center;
        margin-bottom: 24px;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .section-title svg {
        width: 20px;
        height: 20px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Grid layouts for mobile */
    .courses-grid,
    .videos-grid,
    .test-series-grid,
    .notes-grid,
    .mentorship-grid,
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Card adjustments */
    .course-card,
    .video-card,
    .test-card,
    .note-card,
    .mentorship-card,
    .post-card {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .course-thumbnail img,
    .video-thumbnail {
        height: 180px;
    }
    
    /* Package headers */
    .package-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .package-price {
        font-size: 1.2rem;
    }
    
    /* Test cards */
    .test-header {
        padding: 16px;
    }
    
    .test-stats {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    /* Note cards */
    .note-preview {
        height: 160px;
    }
    
    .note-meta {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    /* Post cards */
    .post-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    
    .post-content {
        padding: 16px;
        text-align: center;
    }
    
    .post-stats {
        justify-content: center;
        gap: 16px;
    }
    
    /* Description section */
    .mentor-description-section {
        margin: 30px 20px;
        padding: 20px;
    }
    
    .mentor-description-section h3 {
        font-size: 1.3rem;
        text-align: center;
        margin-bottom: 16px;
    }
    
    .description-content {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: center;
    }
    
    /* Modal adjustments */
    .modal-content {
        margin: 10px;
        max-width: calc(100% - 20px);
        max-height: calc(100vh - 20px);
    }
    
    .modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .mentor-hero-section {
        padding: 20px 15px;
    }
    
    .mentor-avatar-large {
        width: 80px;
        height: 80px;
    }
    
    .mentor-avatar-large .avatar-placeholder {
        font-size: 1.5rem;
    }
    
    .mentor-badge-large {
        width: 28px;
        height: 28px;
        top: -4px;
        right: -4px;
    }
    
    .mentor-badge-large svg {
        width: 14px;
        height: 14px;
    }
    
    .mentor-name {
        font-size: 1.4rem;
    }
    
    .mentor-specialization {
        font-size: 0.9rem;
    }
    
    .mentor-email {
        font-size: 0.85rem;
    }
    
    .mentor-bio {
        font-size: 0.85rem;
    }
    
    .mentor-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-card {
        padding: 12px 8px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .mentor-actions .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
    
    .course-thumbnail img,
    .video-thumbnail {
        height: 160px;
    }
    
    .package-price {
        font-size: 1.1rem;
    }
    
    .mentor-description-section {
        margin: 20px 15px;
        padding: 16px;
    }
    
    .description-content {
        font-size: 0.9rem;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 896px) and (orientation: landscape) {
    .mentor-hero-section {
        padding: 20px;
    }
    
    .mentor-avatar-large {
        width: 90px;
        height: 90px;
    }
    
    .mentor-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .stat-card {
        padding: 10px 8px;
    }
}

/* Large desktop optimizations */
@media (min-width: 1400px) {
    .mentor-hero-section {
        padding: 50px;
    }
    
    .mentor-header-content {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .mentor-avatar-large {
        width: 180px;
        height: 180px;
    }
    
    .mentor-name {
        font-size: 3rem;
    }
    
    .mentor-specialization {
        font-size: 1.4rem;
    }
    
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }
    
    .videos-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .mentorship-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
        gap: 30px;
    }
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    .course-card,
    .video-card,
    .test-card,
    .note-card,
    .mentorship-card,
    .post-card {
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .course-card:active,
    .video-card:active,
    .test-card:active,
    .note-card:active,
    .mentorship-card:active,
    .post-card:active {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .btn {
        min-height: 44px;
        min-width: 44px;
        transition: transform 0.1s ease;
    }
    
    .btn:active {
        transform: scale(0.95);
    }
    
    .stat-card {
        transition: transform 0.2s ease;
    }
    
    .stat-card:active {
        transform: scale(0.95);
    }
}

/* Smooth scrolling for better mobile experience */
html {
    scroll-behavior: smooth;
}

/* Improved loading states */
.mentor-avatar-large img {
    transition: opacity 0.3s ease;
}

.mentor-avatar-large img.loading {
    opacity: 0.7;
}

/* Better focus states for accessibility */
.btn:focus,
.course-card:focus,
.video-card:focus,
.test-card:focus,
.note-card:focus,
.mentorship-card:focus,
.post-card:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .mentor-hero-section {
        background: #000;
        color: #fff;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .card {
        border: 2px solid var(--text-dark);
    }
}

/* Recent Videos Section Styles */
.recent-videos-section {
    margin: 60px 0;
    padding: 0 20px;
}

.video-mentor-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.mentor-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.mentor-avatar-placeholder {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
}

.course-title {
    color: var(--text-gray);
    font-size: 12px;
    margin: 4px 0;
    font-style: italic;
}

.video-description {
    color: var(--text-gray);
    font-size: 13px;
    margin: 8px 0;
    line-height: 1.4;
}

.video-thumbnail-placeholder {
    width: 100%;
    height: 180px;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
}

.video-thumbnail-placeholder svg {
    width: 48px;
    height: 48px;
}

.section-footer {
    text-align: center;
    margin-top: 32px;
}

.recent-videos-section .video-card {
    transition: all 0.3s ease;
}

.recent-videos-section .video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .recent-videos-section {
        margin: 40px 0;
        padding: 0 16px;
    }
    
    .video-mentor-info {
        margin: 6px 0;
    }
    
    .mentor-avatar,
    .mentor-avatar-placeholder {
        width: 20px;
        height: 20px;
        font-size: 8px;
    }
    
    .video-description {
        font-size: 12px;
    }
}

/* PDF Documents Section Styles */
.pdf-documents-section {
    margin: 60px 0;
    padding: 0 20px;
}

.pdf-documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.pdf-document-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.pdf-document-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.pdf-preview {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #f8f8f8, #e8e8e8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-icon {
    width: 80px;
    height: 80px;
    color: #dc2626;
    opacity: 0.8;
}

.pdf-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pdf-badge.free-badge {
    background: rgba(79, 70, 229, 0.06);
    color: var(--primary-green);
}

.pdf-badge.premium-badge {
    background: rgba(251, 191, 36, 0.1);
    color: var(--premium-gold);
}

.pdf-pages {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.pdf-info {
    padding: 20px;
}

.pdf-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.pdf-mentor-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.pdf-mentor {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

.pdf-description {
    color: var(--text-gray);
    font-size: 13px;
    margin: 8px 0;
    line-height: 1.4;
}

.pdf-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.pdf-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.downloads,
.file-size {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-gray);
    font-size: 12px;
}

.pdf-price .price {
    font-weight: 600;
    font-size: 14px;
}

@media (max-width: 768px) {
    .pdf-documents-section {
        margin: 40px 0;
        padding: 0 16px;
    }
    
    .pdf-documents-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .pdf-preview {
        height: 160px;
    }
    
    .pdf-icon {
        width: 60px;
        height: 60px;
    }
    
    .pdf-title {
        font-size: 15px;
    }
    
    .pdf-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
	
}
@media (max-width: 768px) {

    /* Hide table header */
    .table thead {
        display: none;
    }

    /* Make everything block */
    .table,
    .table tbody,
    .table tr,
    .table td {
        display: block;
        width: 100%;
    }

    /* Each row becomes a card */
    .table tr {
        background: #ffffff;
        margin-bottom: 16px;
        padding: 14px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    /* Table cells styling */
    .table td {
        position: relative;
        padding-left: 50%;
        padding-top: 8px;
        padding-bottom: 8px;
        text-align: left;
        border: none;
        border-bottom: 1px solid #eee;
    }

    .table td:last-child {
        border-bottom: none;
    }

    /* Left side label */
    .table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        top: 8px;
        width: 45%;
        font-weight: 600;
        color: #666;
    }

}