html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ===================================================================
   SHARED LAYOUT CLASSES
   Extracted from inline <style> blocks across all pages
   =================================================================== */

/* --- Page Container --- */
.dashboard-container {
    padding: 24px;
    max-width: 95%;
    margin: 0 auto;
    animation: fadeIn 0.3s ease-out;
    background: var(--mud-palette-background);
    min-height: 100vh;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1920px) {
    .dashboard-container {
        max-width: 1800px;
    }
}

/* --- Dashboard Grid --- */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.dashboard-card {
    min-height: 150px;
}

.dashboard-card-full {
    grid-column: 1 / -1;
    min-height: 400px;
}

/* --- Detail Page Grid (12-column) --- */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    animation: fadeIn 0.3s ease-out;
    width: 100%;
}

.grid-span-3 {
    grid-column: span 3;
}

.grid-span-4 {
    grid-column: span 4;
}

.grid-span-6 {
    grid-column: span 6;
}

.grid-span-12 {
    grid-column: span 12;
}

/* --- Page Header --- */
.page-header {
    margin-bottom: 24px;
}

.page-header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.page-icon {
    color: white;
    font-size: 28px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    margin: 0;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 14px;
    color: var(--mud-palette-text-secondary);
    margin: 4px 0 0 0;
}

/* --- Page Toolbar --- */
.page-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.toolbar-spacer {
    flex: 1;
}

/* --- Data Grid Container --- */
.data-grid-container {
    background: var(--mud-palette-surface);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    overflow: hidden;
}

.modern-data-grid {
    border: none;
}

/* --- Buttons --- */
.add-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    font-weight: 600;
    text-transform: none;
    padding: 8px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.add-button:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transform: translateY(-1px);
}

.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.action-btn {
    text-transform: none;
    font-weight: 500;
    border-radius: 6px;
    padding: 6px 16px;
    min-width: 80px;
}

.action-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

.action-btn-success {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: white !important;
}

.action-btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: white !important;
}

/* --- Search Field --- */
.search-field {
    max-width: 350px;
}

/* --- Status Chips --- */
.status-chip {
    font-weight: 600;
    border-radius: 6px;
}

.status-active {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%) !important;
    color: #065f46 !important;
}

.status-inactive {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%) !important;
    color: #991b1b !important;
}

.status-finished {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%) !important;
    color: #065f46 !important;
}

.status-canceled {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%) !important;
    color: #991b1b !important;
}

.status-pending {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
    color: #1e3a8a !important;
}

/* --- Professional Cards (Detail Pages) --- */
.professional-card {
    background: var(--mud-palette-surface);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid var(--mud-palette-divider);
}

.professional-card:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.card-header-professional {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--mud-palette-divider);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    margin: 0;
}

/* --- Info Rows (Detail Page Key-Value Pairs) --- */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--mud-palette-divider);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--mud-palette-text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
}

.info-value {
    color: var(--mud-palette-text-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-align: right;
}

/* --- Financial Grid --- */
.financial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.financial-item {
    padding: 16px;
    background: var(--mud-palette-background);
    border-radius: 8px;
    border: 1px solid var(--mud-palette-divider);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.financial-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.financial-label {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.financial-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
}

.financial-value.success {
    color: #059669;
}

.financial-value.error {
    color: #dc2626;
}

.financial-value.warning {
    color: #d97706;
}

/* --- Stats Grid (Course Details) --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.stat-item {
    padding: 16px;
    background: var(--mud-palette-background);
    border-radius: 8px;
    border: 1px solid var(--mud-palette-divider);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
}

.stat-value.primary {
    color: #667eea;
}

.stat-value.success {
    color: #059669;
}

.stat-value.error {
    color: #dc2626;
}

/* --- Section Labels (Detail Pages) --- */
.section-label {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.section-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    margin-bottom: 16px;
}

/* --- Professional Button (Detail Pages) --- */
.professional-button {
    width: 100%;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: none;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.professional-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* --- Professional Table (Detail Pages) --- */
.professional-table {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--mud-palette-divider);
}

/* --- Avatar Sections --- */
.avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--mud-palette-divider);
}

.avatar-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    margin-top: 16px;
    margin-bottom: 4px;
    text-align: center;
}

.avatar-subtitle {
    font-size: 0.875rem;
    color: var(--mud-palette-text-secondary);
    font-weight: 500;
}

/* --- Button Groups --- */
.button-group {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

/* --- Status Section --- */
.status-section {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--mud-palette-divider);
}

/* --- Loading States --- */
.loading-container {
    background: var(--mud-palette-surface);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
}

.skeleton-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* --- Period Text (Courses) --- */
.period-text {
    font-weight: 500;
    color: var(--mud-palette-text-primary);
}

/* --- Empty State --- */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: #9ca3af;
}

.empty-state-icon {
    opacity: 0.3;
    margin-bottom: 12px;
}

.empty-state-message {
    font-size: 0.875rem;
    font-weight: 500;
    color: #9ca3af;
    margin-bottom: 16px;
}

/* --- Dialog Styles --- */
.dialog-header-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dialog-header-gradient .mud-dialog-title {
    color: white;
}

/* ===================================================================
   RESPONSIVE BREAKPOINTS
   =================================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .grid-span-3 {
        grid-column: span 6;
    }

    .grid-span-4 {
        grid-column: span 6;
    }

    .button-group {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 16px;
    }

    .dashboard-grid {
        gap: 16px;
    }

    .dashboard-card {
        min-height: 140px;
    }

    .dashboard-card-full {
        min-height: 350px;
    }

    .page-title {
        font-size: 24px;
    }

    .page-icon-wrapper {
        width: 48px;
        height: 48px;
    }

    .page-icon {
        font-size: 24px;
    }

    .page-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 12px;
    }

    .toolbar-spacer {
        display: none;
    }

    .add-button {
        width: 100%;
        justify-content: center;
    }

    .search-field {
        max-width: 100%;
        width: 100%;
    }

    .action-buttons {
        flex-wrap: wrap;
        gap: 6px;
    }

    .action-btn {
        min-width: 70px;
        font-size: 13px;
    }

    .data-grid-container {
        overflow-x: auto;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .grid-span-3,
    .grid-span-4,
    .grid-span-6,
    .grid-span-12 {
        grid-column: span 1;
    }

    .professional-card {
        padding: 20px;
    }

    .financial-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .card-title {
        font-size: 1rem;
    }

    .avatar-name {
        font-size: 1.25rem;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .dashboard-container {
        padding: 12px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dashboard-card {
        min-height: 130px;
    }

    .dashboard-card-full {
        grid-column: 1;
        min-height: auto;
    }

    .detail-grid {
        gap: 12px;
    }

    .professional-card {
        padding: 16px;
    }
}

/* ── Event Calendar ── */
.event-calendar {
    min-width: 320px;
    padding: 8px;
}

.event-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0 12px;
}

.event-calendar-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--mud-palette-text-primary);
}

.event-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.event-calendar-day-header {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    padding: 4px 0 8px;
    text-transform: uppercase;
}

.event-calendar-day {
    position: relative;
    text-align: center;
    padding: 6px 2px;
    min-height: 40px;
    border-radius: 6px;
    transition: background-color 0.15s ease;
}

.event-calendar-day:hover:not(.event-calendar-day-empty) {
    background-color: var(--mud-palette-action-default-hover);
}

.event-calendar-day-empty {
    pointer-events: none;
}

.event-calendar-day-today {
    background-color: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.event-calendar-day-number {
    font-size: 0.85rem;
    color: var(--mud-palette-text-primary);
}

.event-calendar-dots {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-top: 2px;
}

.event-calendar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.event-calendar-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--mud-palette-lines-default);
    margin-top: 12px;
}

.event-calendar-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
}

/* ===== Login Page ===== */

.login-page-body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

.login-wrapper {
    display: flex;
    height: 100vh;
    width: 100%;
    background: #f5f7fa;
}

/* Left brand panel */
.login-brand-panel {
    flex: 0 0 45%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.login-brand-panel::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.login-brand-panel::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.login-brand-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 2rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-brand-name {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.login-brand-tagline {
    font-size: 1rem;
    opacity: 0.85;
    text-align: center;
    max-width: 280px;
    line-height: 1.6;
}

.login-brand-features {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: stretch;
}

.login-brand-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    opacity: 0.9;
}

.login-brand-feature-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Right form panel */
.login-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    overflow-y: auto;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
}

.login-logo-mobile {
    display: none;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    margin: 0 auto 20px;
}

.login-title {
    font-size: 1.625rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
    line-height: 1.3;
}

.login-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 28px;
}

.login-status-message {
    margin-bottom: 16px;
}

.login-form .form-floating {
    margin-bottom: 16px;
}

.login-form .form-floating .form-control {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    padding: 1rem 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-form .form-floating .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
    outline: none;
}

.login-form .form-floating label {
    color: #9ca3af;
    font-size: 0.875rem;
}

.login-remember-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.login-remember-row .form-check-input {
    width: 16px;
    height: 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
    accent-color: #667eea;
}

.login-remember-label {
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
    margin: 0;
}

.login-submit-btn {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.35);
    margin-bottom: 8px;
}

.login-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.45);
}

.login-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.35);
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #9ca3af;
    font-size: 0.8125rem;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.login-ms-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 24px;
    background: #ffffff;
    color: #1f2937;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    margin-bottom: 4px;
}

.login-ms-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.login-ms-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.login-links {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.login-links a {
    font-size: 0.8125rem;
    color: #667eea;
    text-decoration: none;
    transition: color 0.15s;
}

.login-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.login-validation-summary {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 0.8125rem;
    color: #dc2626;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .login-brand-panel {
        display: none;
    }

    .login-form-panel {
        padding: 24px 16px;
        align-items: flex-start;
        padding-top: 32px;
    }

    .login-card {
        padding: 28px 24px;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }

    .login-logo-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
