/* AeroLMS Premium Dark Theme - Mobile First */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Inter:wght@300;400;500&display=swap');

:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --primary: #38bdf8;
    --primary-gradient: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    --accent: #818cf8;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(15, 23, 42, 0.8);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.1) 0, transparent 50%),
        radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.1) 0, transparent 50%);
    color: var(--text-main);
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.nav-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

/* Mobile Menu Button */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

/* Nav Menu */
.nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transition: var(--transition);
    border-left: 1px solid var(--glass-border);
}

.nav-menu.active {
    right: 0;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

/* --- Hero Section --- */
.hero {
    padding: 120px 0 60px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

/* --- Course Grid --- */
.section-title {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50%;
    height: 3px;
    background: var(--primary-gradient);
}

.course-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.course-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

/* --- Carousel --- */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2rem;
}

.carousel-track .course-card {
    flex: 0 0 100%; /* Default 1 card (Mobile) */
}

@media (min-width: 768px) {
    .carousel-track .course-card {
        flex: 0 0 calc(50% - 1rem); /* 2 cards (Tablet) */
    }
}

@media (min-width: 1024px) {
    .carousel-track .course-card {
        flex: 0 0 calc(33.333% - 1.35rem); /* 3 cards (Desktop) */
    }
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    font-size: 2rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn.prev {
    left: -20px;
}

.carousel-btn.next {
    right: -20px;
}

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-content {
    padding: 1.5rem;
}

.course-title {
    font-size: 1.2rem;
    margin: 0 0 1rem;
}

.course-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.course-desc.truncated {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 1rem;
}

.course-price {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.read-more {
    color: var(--primary);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Forms (Move from inline to CSS) */
.form-control {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.5);
    color: white;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

/* --- Footer --- */
footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
    text-align: center;
}

.footer-text {
    color: var(--text-muted);
    margin-top: 1rem;
}

/* --- Media Queries --- */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .menu-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        flex-direction: row;
        width: auto;
        height: auto;
        border: none;
        padding: 0;
        background: none;
    }

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

@media (min-width: 1024px) {
    .course-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Student Dashboard --- */
.dashboard-section {
    padding: 120px 0 60px;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state-title {
    color: var(--text-main);
    margin-bottom: 1rem;
}

.empty-state-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.course-image-container {
    height: 180px;
    overflow: hidden;
}

.course-image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-image-placeholder {
    height: 180px;
    background: linear-gradient(45deg, #0f172a, #334155);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 3rem;
}

.course-status {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.status-active {
    color: #10b981;
}

.btn-block {
    text-align: center;
    display: block;
    width: 100%;
}

/* --- Course Details (Show) --- */
.course-header {
    background: linear-gradient(to right, #0f172a, #1e293b);
    padding: 80px 0 60px;
    color: white;
}

.course-header-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.badge-pro {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.course-title-large {
    font-size: 2.5rem;
    margin: 1rem 0;
    line-height: 1.2;
}

.course-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
}

.course-preview-card {
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.course-preview-img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.course-content-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 60px 0;
}

.alert-error {
    background: #fee2e2;
    color: #ef4444;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.module-container {
    margin-bottom: 2rem;
}

.module-header {
    color: #e2e8f0;
    font-size: 1.2rem;
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-small-secondary {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    background: var(--accent);
}

.lesson-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lesson-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: background 0.2s;
}

.lesson-item:hover {
    background: rgba(30, 41, 59, 0.8);
}

.lesson-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-free {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: bold;
}

.icon-check {
    color: #10b981;
    margin-left: 0.5rem;
    font-size: 1.1rem;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.pricing-card {
    padding: 2rem;
    border-top: 5px solid var(--primary);
}

.price-display {
    text-align: center;
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
}

.price-note {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.enrollment-status {
    text-align: center;
    padding: 1rem;
    background: #dcfce7;
    color: #166534;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* --- Lesson View --- */
.lesson-page {
    background: #0f172a;
    min-height: 100vh;
    padding-top: 80px;
    color: white;
}

.lesson-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 4rem;
}

.exam-container {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.back-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
}

.lesson-title-page {
    margin-top: 0.5rem;
    font-size: 1.5rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: black;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.resources-section {
    margin-top: 1.5rem;
    background: #1e293b;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #334155;
}

.resources-title {
    margin: 0 0 1rem 0;
    color: #e2e8f0;
    font-size: 1.1rem;
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.resource-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(51, 65, 85, 0.5);
    padding: 1rem;
    border-radius: 8px;
}

.resource-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.resource-name {
    display: block;
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.9rem;
    word-break: break-all;
}

.btn-download {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    border-radius: 50px;
    text-decoration: none;
}

.description-section {
    margin-top: 2rem;
    background: #1e293b;
    padding: 2rem;
    border-radius: 12px;
}

.description-title {
    margin-top: 0;
    border-bottom: 1px solid #334155;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.description-content {
    color: #cbd5e1;
    line-height: 1.7;
}

.lesson-sidebar {
    background: #1e293b;
    border-radius: 12px;
    padding: 1.5rem;
    height: fit-content;
}

.sidebar-title {
    margin-top: 0;
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.current-lesson-indicator {
    padding: 1rem;
    background: rgba(56, 189, 248, 0.1);
    border-left: 3px solid var(--primary);
    border-radius: 4px;
}

.playing-text {
    display: block;
    font-size: 0.75rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.btn-outline {
    text-align: center;
    margin-top: 1rem;
    background: #334155;
    border: 1px solid #475569;
}

/* --- Quiz & Exam --- */
.quiz-section-container {
    padding-bottom: 4rem;
}

.quiz-box {
    background: #1e293b;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #334155;
}

.quiz-header {
    margin-top: 0;
    color: #e2e8f0;
    border-bottom: 1px solid #334155;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.quiz-completed-box {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.quiz-success-title {
    color: #10b981;
    margin: 0.5rem 0;
}

.quiz-text {
    color: #cbd5e1;
}

.question-block {
    margin-bottom: 2rem;
}

.question-text {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 1rem;
}

.option-label {
    cursor: pointer;
    color: #cbd5e1;
}

.exam-warning {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid #eab308;
    padding: 1rem;
    border-radius: 8px;
    color: #facc15;
}

.option-card {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(51, 65, 85, 0.3);
    border-radius: 8px;
    transition: background 0.2s;
}

.option-card:hover {
    background: rgba(51, 65, 85, 0.5);
}

.separator {
    border: 0;
    border-top: 1px solid #334155;
    margin: 2rem 0;
}

@media (min-width: 1024px) {

    .course-header-layout,
    .course-content-layout {
        grid-template-columns: 1fr 350px;
    }

    .lesson-layout {
        grid-template-columns: 1fr 300px;
    }
}

/* --- Utilities & Refactored Inline Styles --- */

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.text-center {
    text-align: center;
}

.module-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.icon-large {
    font-size: 1.2rem;
}

.icon-xl {
    font-size: 2rem;
}

.guarantee-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.resource-icon {
    font-size: 1.2rem;
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.text-medium-sm {
    font-size: 0.9rem;
    font-weight: 500;
}

.quiz-score {
    font-weight: bold;
    font-size: 1.1rem;
}

.text-muted-italic {
    color: #94a3b8;
    font-style: italic;
}

.text-light-muted {
    color: #cbd5e1;
}

.btn-lg-text {
    padding: 1rem;
    font-size: 1.1rem;
}

.quiz-note {
    font-size: 0.85rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 1rem;
}

/* Exam Page Specifics */
.exam-page {
    background: #0f172a;
    min-height: 100vh;
    padding-top: 80px;
    color: white;
}

.exam-rules-list {
    margin: 0.5rem 0 0 1.5rem;
}

.question-text-lg {
    font-size: 1.2rem;
    color: #e2e8f0;
}

.option-group-sm {
    padding-left: 0.5rem;
}

.radio-scale {
    transform: scale(1.2);
}

.btn-exam-submit {
    padding: 1rem 3rem;
    font-size: 1.2rem;
}

.submit-note {
    margin-top: 1rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Quiz Review Styles */
.review-question {
    background: rgba(30, 41, 59, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
}

.review-question.correct {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.review-question.incorrect {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.review-option {
    padding: 0.8rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    background: rgba(15, 23, 42, 0.5);
    color: #cbd5e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-option.selected {
    border: 1px solid #94a3b8;
}

.review-option.correct-answer {
    background: rgba(16, 185, 129, 0.2);
    color: #ecfdf5;
    border: 1px solid #10b981;
}

.review-option.incorrect-selection {
    background: rgba(239, 68, 68, 0.2);
    color: #fef2f2;
    border: 1px solid #ef4444;
}

.review-icon {
    font-size: 1.2rem;
}

/* Dashboard Progress Bar */
.progress-container {
    margin: 1.5rem 0 1rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.progress-bar-bg {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 10px;
    transition: width 0.8s ease-out;
}

.progress-meta {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.5rem;
    display: block;
}

/* --- Admin Panel --- */
.admin-section {
    padding: 120px 0 60px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-header-stacked {
    margin-bottom: 2rem;
}

.admin-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.admin-card-padding {
    padding: 2rem;
}

.admin-table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    vertical-align: middle;
}

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

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.admin-thumbnail {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.admin-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.action-link {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.action-edit {
    color: var(--primary);
}

.action-curriculum {
    color: #a78bfa;
}

.action-delete {
    color: #ff8a80;
}

.action-link:hover {
    opacity: 0.8;
}

/* Badges */
.badge-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-published {
    background: rgba(56, 189, 248, 0.2);
    color: var(--primary);
}

.badge-draft {
    background: rgba(148, 163, 184, 0.2);
    color: var(--text-muted);
}

.admin-empty-state {
    padding: 4rem;
    text-align: center;
    color: var(--text-muted);
}

.badge-free {
    font-size: 0.7rem;
    background: var(--primary);
    color: white;
    padding: 1px 6px;
    border-radius: 4px;
}

.back-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.back-link:hover {
    opacity: 0.8;
}

.text-muted-sm {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.text-muted-italic {
    color: var(--text-muted);
    font-style: italic;
}

.text-medium-sm {
    font-size: 0.95rem;
}

/* --- Profile Section --- */
.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    height: 100%;
}

.profile-avatar-container {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-avatar-preview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.profile-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-initials {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
}

.profile-form-group {
    margin-bottom: 1.5rem;
}

.profile-form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-info {
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.small-btn-upload {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}

.small-btn-upload:hover {
    background: var(--glass-border);
    color: var(--primary);
}