:root {
    /* ── Layout ── */
    --sidebar-width: 240px;
    --header-height: 60px;

    /* ── Theme colors ── */
    --primary-color: #CC9933;
    --primary-hover: #B8862E;
    --primary-active: #A67728;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;

    /* ── Gray scale ── */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f1f1f;
    --gray-900: #141414;

    /* ── Telerik Kendo theme overrides ── */
    --kendo-color-primary: #CC9933;
    --kendo-color-primary-hover: #B8862E;
    --kendo-color-primary-active: #A67728;
    --kendo-color-primary-focus: #CC9933;
    --kendo-color-on-primary: #ffffff;
    --kendo-color-primary-subtle: rgba(204, 153, 51, 0.12);
    --kendo-color-primary-subtle-hover: rgba(204, 153, 51, 0.2);
    --kendo-color-primary-subtle-active: rgba(204, 153, 51, 0.25);
    --kendo-color-primary-emphasis: rgba(204, 153, 51, 0.4);
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    height: 100%;
}

a, .btn-link {
    color: var(--primary-color);
}

/* ── Bootstrap button overrides ── */
.btn-primary {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-primary:active {
    background-color: var(--primary-active);
    border-color: var(--primary-active);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.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 rgba(204, 153, 51, 0.4);
}

/* ── Telerik solid button overrides ── */
.k-button-solid-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.k-button-solid-primary:hover,
.k-button-solid-primary.k-hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.k-button-solid-primary:active,
.k-button-solid-primary.k-active {
    background-color: var(--primary-active) !important;
    border-color: var(--primary-active) !important;
}

.k-button-solid-primary:focus,
.k-button-solid-primary.k-focus {
    box-shadow: 0 0 0 3px rgba(204, 153, 51, 0.3) !important;
}

/* ── Telerik outline button overrides ── */
.k-button-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.k-button-outline-primary:hover,
.k-button-outline-primary.k-hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

/* ── Telerik flat button overrides ── */
.k-button-flat-primary {
    color: var(--primary-color) !important;
}

.k-button-flat-primary:hover,
.k-button-flat-primary.k-hover {
    color: var(--primary-hover) !important;
}

/* ── Telerik secondary button ── */
.k-button-solid-secondary {
    background-color: var(--gray-500) !important;
    border-color: var(--gray-500) !important;
    color: #fff !important;
}

.k-button-solid-secondary:hover,
.k-button-solid-secondary.k-hover {
    background-color: var(--gray-600) !important;
    border-color: var(--gray-600) !important;
}

/* ── Telerik info button ── */
.k-button-solid-info {
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #fff !important;
}

.k-button-solid-info:hover,
.k-button-solid-info.k-hover {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
}

/* ── Telerik warning button ── */
.k-button-solid-warning {
    background-color: var(--warning-color) !important;
    border-color: var(--warning-color) !important;
    color: #fff !important;
}

.k-button-solid-warning:hover,
.k-button-solid-warning.k-hover {
    background-color: #d97706 !important;
    border-color: #d97706 !important;
}

/* ── Telerik error/danger button ── */
.k-button-solid-error {
    background-color: var(--danger-color) !important;
    border-color: var(--danger-color) !important;
    color: #fff !important;
}

.k-button-solid-error:hover,
.k-button-solid-error.k-hover {
    background-color: #dc2626 !important;
    border-color: #dc2626 !important;
}

/* ── Telerik success button ── */
.k-button-solid-success {
    background-color: var(--success-color) !important;
    border-color: var(--success-color) !important;
    color: #fff !important;
}

.k-button-solid-success:hover,
.k-button-solid-success.k-hover {
    background-color: #059669 !important;
    border-color: #059669 !important;
}

/* ── Telerik grid pager active page ── */
.k-pager-numbers .k-selected {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

/* ── Telerik switch (on state) ── */
.k-switch-on .k-switch-track {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.k-switch-on:hover .k-switch-track {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.k-switch-on:focus .k-switch-track,
.k-switch-on.k-focus .k-switch-track {
    box-shadow: 0 0 0 3px rgba(204, 153, 51, 0.3) !important;
}

/* ── Telerik dropdown selected item ── */
.k-list-item.k-selected,
.k-list-item.k-selected:hover,
.k-list-item.k-selected.k-hover,
.k-list-optionlabel.k-selected,
.k-list-optionlabel.k-selected:hover,
.k-list-optionlabel.k-selected.k-hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.k-list-item:hover,
.k-list-item.k-hover,
.k-list-optionlabel:hover,
.k-list-optionlabel.k-hover {
    background-color: var(--primary-subtle, rgba(204, 153, 51, 0.1)) !important;
    color: inherit !important;
}

.k-list-item.k-focus,
.k-list-optionlabel.k-focus {
    box-shadow: inset 0 0 0 2px rgba(204, 153, 51, 0.3) !important;
}

/* ── Telerik checkbox & radio (checked) ── */
.k-checkbox:checked,
.k-checkbox.k-checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.k-radio:checked,
.k-radio.k-checked {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

/* ── Telerik input focus ── */
.k-input:focus,
.k-input.k-focus,
.k-picker:focus,
.k-picker.k-focus,
.k-textbox:focus,
.k-textbox.k-focus,
.k-textarea:focus,
.k-textarea.k-focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(204, 153, 51, 0.15) !important;
}

/* ── General focus ring ── */
.k-button:focus,
.k-button.k-focus {
    box-shadow: 0 0 0 3px rgba(204, 153, 51, 0.2) !important;
}

/* ── Misc ── */
.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--success-color);
}

.invalid {
    outline: 1px solid var(--danger-color);
}

.validation-message {
    color: var(--danger-color);
}

.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;
}

/* ========================================
   Auth Layout
   ======================================== */
.modern-auth-layout {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.modern-auth-background {
    position: absolute;
    inset: 0;
    background: var(--gray-900);
    z-index: 0;
}

.modern-auth-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(204, 153, 51, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    background-size: 100% 100%;
    animation: patternMove 20s ease-in-out infinite;
}

@keyframes patternMove {
    0%, 100% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(-2%, 2%); }
}

.modern-auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.modern-auth-brand-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0;
}

.modern-brand-icon {
    font-size: 2rem;
    color: var(--primary-color);
    filter: drop-shadow(0 4px 12px rgba(204, 153, 51, 0.4));
}

.modern-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.025em;
}

.modern-auth-content-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.modern-auth-bottom {
    text-align: center;
    margin-top: 1rem;
}

.modern-auth-copyright {
    font-size: 0.8125rem;
    color: var(--gray-400);
    margin: 0;
}

/* ========================================
   Auth Card & Pages
   ======================================== */
.modern-auth-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.75rem 2rem;
    width: 100%;
    max-width: 440px;
    border: 1px solid rgba(203, 213, 225, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.modern-auth-card:hover {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
                0 8px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.modern-auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modern-auth-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(204, 153, 51, 0.3);
    transition: all 0.3s ease;
}

.modern-auth-icon:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 16px 36px rgba(204, 153, 51, 0.35);
}

.modern-auth-icon-register {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.25);
}

.modern-auth-icon-register:hover {
    box-shadow: 0 16px 36px rgba(16, 185, 129, 0.35);
}

.modern-auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.modern-auth-subtitle {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
    font-weight: 400;
}

/* Auth Alert */
.modern-alert {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    border-radius: 0.625rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.modern-alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.modern-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.modern-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

/* Auth Form */
.modern-auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modern-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modern-form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modern-form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    user-select: none;
}

.modern-form-label i {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.modern-form-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    background: #ffffff;
    color: var(--gray-900);
    transition: all 0.2s ease;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
}

.modern-form-input::placeholder {
    color: var(--gray-400);
}

.modern-form-input:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}

.modern-form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(204, 153, 51, 0.15);
    background: #ffffff;
}

.modern-form-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: -0.25rem;
}

.modern-form-hint i {
    font-size: 0.875rem;
}

/* Checkbox */
.modern-form-options {
    margin: -0.5rem 0;
}

.modern-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.modern-checkbox {
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--gray-300);
    border-radius: 0.25rem;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 0.125rem;
    transition: all 0.2s ease;
    accent-color: var(--primary-color);
}

.modern-checkbox:hover {
    border-color: var(--primary-color);
}

.modern-checkbox:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.modern-checkbox-text {
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.4;
}

/* Auth Button */
.modern-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    outline: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: white;
}

.modern-btn i {
    font-size: 1.125rem;
}

.modern-btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(204, 153, 51, 0.25);
}

.modern-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(204, 153, 51, 0.35);
    color: white;
}

.modern-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(204, 153, 51, 0.2);
}

.modern-btn-primary:disabled {
    background: var(--gray-300);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Auth Divider */
.modern-auth-divider {
    position: relative;
    text-align: center;
    margin: 1.25rem 0 1rem;
}

.modern-auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-200);
}

.modern-auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 0.875rem;
    background: #ffffff;
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Auth Footer */
.modern-auth-footer {
    text-align: center;
    margin-top: 0.5rem;
}

.modern-auth-footer-text {
    font-size: 0.8125rem;
    color: var(--gray-600);
    margin: 0 0 0.75rem 0;
}

.modern-auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.modern-auth-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Accessibility */
.modern-form-input:focus-visible,
.modern-btn:focus-visible,
.modern-checkbox:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Auth Mobile */
@media (max-width: 640px) {
    .modern-auth-container {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .modern-auth-card {
        padding: 1.5rem 1.25rem;
        border-radius: 0.75rem;
    }

    .modern-auth-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .modern-auth-title {
        font-size: 1.25rem;
    }

    .modern-btn {
        padding: 0.5rem 1rem;
    }
}

/* ========================================
   Profile Page
   ======================================== */
.modern-profile-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modern-profile-hero {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.modern-profile-main {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
}

.modern-profile-avatar-wrapper {
    flex-shrink: 0;
}

.modern-profile-avatar {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    border: 4px solid #ffffff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.modern-profile-initials {
    letter-spacing: 0.05em;
}

.modern-profile-identity {
    padding-top: 0.5rem;
    flex: 1;
}

.modern-profile-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.25rem 0;
}

.modern-profile-email {
    color: var(--gray-600);
    font-size: 1rem;
    margin: 0 0 0.75rem 0;
}

.modern-profile-role {
    display: inline-flex;
}

.badge-role {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

.modern-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.profile-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.profile-card-header {
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--gray-900);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-card-body {
    padding: 1.25rem;
}

.modern-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modern-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--gray-50);
    border-radius: 0.75rem;
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.modern-info-item:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

.modern-info-label {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 500;
}

.modern-info-label i {
    font-size: 1rem;
    color: var(--gray-500);
}

.modern-info-value {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.9375rem;
}

.modern-security-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--gray-50), #ffffff);
    border-radius: 0.875rem;
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.modern-security-item:hover {
    border-color: var(--gray-300);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.modern-security-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: rgba(204, 153, 51, 0.12);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.modern-security-content {
    flex: 1;
    min-width: 0;
}

.modern-security-title {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.modern-security-desc {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.btn-change-password {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    color: var(--gray-700);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-change-password:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(204, 153, 51, 0.05);
}

.password-change-form {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.password-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.password-form-actions .modern-btn {
    width: auto;
}

.btn-cancel {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

/* Profile Mobile */
@media (max-width: 768px) {
    .modern-profile-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .modern-profile-identity {
        padding-top: 0;
    }

    .modern-profile-grid {
        grid-template-columns: 1fr;
    }
}
