/* ============================================================
   Motri Admin Panel — Premium Clean/Light Mode CSS
   Paleta: Preto + Laranja Energia (Mustang/Shelby)
   ============================================================ */

:root {
    --bg-primary: #f8fafc;       /* Slate 50 */
    --bg-secondary: #ffffff;     /* White */
    --bg-tertiary: #f1f5f9;      /* Slate 100 */
    --bg-card: #ffffff;          /* White */
    --bg-card-hover: #ffffff;    /* White */
    --bg-input: #ffffff;         /* White */
    --border-color: #e2e8f0;     /* Slate 200 */
    --border-active: #cbd5e1;    /* Slate 300 */
    --text-primary: #0f172a;     /* Slate 900 */
    --text-secondary: #475569;   /* Slate 600 */
    --text-muted: #94a3b8;       /* Slate 400 */
    --accent: #F97316;           /* Laranja Energia - cor da marca Motri */
    --accent-hover: #ea670c;     /* Laranja mais escuro no hover */
    --accent-glow: rgba(249, 115, 22, 0.15);
    --accent-dark: #0A0A0A;      /* Preto profundo (header/sidebar escura) */
    --accent-amber: #F59E0B;     /* Âmbar para gradientes */
    --gradient: linear-gradient(135deg, #F97316 0%, #F59E0B 100%);
    --success: #10b981;          /* Emerald 500 */
    --warning: #f59e0b;          /* Amber 500 */
    --danger: #ef4444;           /* Red 500 */
    --info: #3b82f6;             /* Blue 500 */
    --sidebar-width: 260px;
    --sidebar-collapsed: 70px;
    --topbar-height: 64px;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --transition: all 0.2s ease-in-out;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.5;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ============================================================
   APP LAYOUT
   ============================================================ */
.app-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    transition: var(--transition);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-area i { color: var(--accent); font-size: 1.4rem; }
.logo-text { font-weight: 400; letter-spacing: -0.02em; }
.logo-text strong { font-weight: 700; color: var(--accent); }

.sidebar-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 6px;
    border-radius: 6px;
    transition: var(--transition);
}
.sidebar-toggle:hover { background: var(--bg-tertiary); color: var(--text-primary); }

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px 12px;
}

.nav-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }

.nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.nav-item a:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.nav-item.active a {
    color: var(--accent);
    background: rgba(249, 115, 22, 0.08);
    font-weight: 600;
}

.nav-item a i { width: 20px; text-align: center; font-size: 1rem; }

.badge {
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: auto;
}

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.user-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.user-name { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role { font-size: 0.75rem; color: var(--text-muted); }

.logout-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
}
.logout-btn:hover { background: rgba(239, 68, 68, 0.08); color: var(--danger); }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-left { display: flex; align-items: center; gap: 16px; }
.page-title { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); letter-spacing: -0.02em; }
.mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.2rem; cursor: pointer; }
.topbar-right { display: flex; align-items: center; gap: 12px; }

/* ============================================================
   PAGE CONTENT
   ============================================================ */
.page-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

/* ============================================================
   STATS CARDS
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border-active); }

.stat-card .stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.stat-card .stat-icon.blue { background: rgba(59, 130, 246, 0.08); color: var(--info); }
.stat-card .stat-icon.green { background: rgba(16, 185, 129, 0.08); color: var(--success); }
.stat-card .stat-icon.red { background: rgba(239, 68, 68, 0.08); color: var(--danger); }
.stat-card .stat-icon.yellow { background: rgba(245, 158, 11, 0.08); color: var(--warning); }
.stat-card .stat-icon.purple { background: rgba(168, 85, 247, 0.08); color: #a855f7; }

.stat-card .stat-value { font-size: 1.85rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; letter-spacing: -0.03em; }
.stat-card .stat-label { font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }

/* ============================================================
   DATA CARDS
   ============================================================ */
.data-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 32px;
}

.data-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 12px;
}

.data-card-header h3 { font-size: 1rem; font-weight: 600; color: var(--text-primary); }

.data-card-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.search-wrapper {
    position: relative;
}

.search-wrapper i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.search-input {
    background: var(--bg-tertiary);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: 8px 12px 8px 36px;
    color: var(--text-primary);
    font-size: 0.85rem;
    width: 220px;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--border-active);
    background: var(--bg-secondary);
    box-shadow: 0 0 0 3px var(--bg-tertiary);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    padding: 12px 24px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.data-table td {
    padding: 16px 24px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.data-table tr { transition: var(--transition); }
.data-table tbody tr:hover { background: var(--bg-primary); }
.data-table tbody tr:last-child td { border-bottom: none; }

.table-img {
    width: 52px;
    height: 38px;
    object-fit: cover;
    border-radius: 6px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

/* ============================================================
   STATUS BADGES
   ============================================================ */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    gap: 5px;
}

.status-badge.available { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.status-badge.sold { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.status-badge.reserved { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.status-badge.new { background: rgba(59, 130, 246, 0.1); color: var(--info); }
.status-badge.contacted { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.status-badge.converted { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.status-badge.lost { background: #f1f5f9; color: var(--text-secondary); }

.status-badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    font-family: inherit;
}

.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-outline { background: var(--bg-secondary); border-color: var(--border-color); color: var(--text-secondary); }
.btn-outline:hover { background: var(--bg-tertiary); color: var(--text-primary); border-color: var(--border-active); }
.btn-danger { background: rgba(239, 68, 68, 0.08); border-color: transparent; color: var(--danger); }
.btn-danger:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 0.8rem; }
.btn-icon { padding: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 6px; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

textarea.form-control { min-height: 100px; resize: vertical; }

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.input-icon input { padding-left: 42px; }

/* ============================================================
   LOGIN SCREEN
   ============================================================ */
.login-screen {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 100% 100%, rgba(249, 115, 22, 0.04) 0%, transparent 40%),
                radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.03) 0%, transparent 40%),
                #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.login-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 44px 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.02), 0 8px 10px -6px rgba(0, 0, 0, 0.02), 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.login-header i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 14px;
    display: inline-block;
    background: rgba(249, 115, 22, 0.06);
    padding: 12px;
    border-radius: 12px;
}

.login-header h1 {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.login-header h1 strong { font-weight: 700; color: var(--accent); }
.login-header p { color: var(--text-secondary); font-size: 0.85rem; margin-top: 4px; font-weight: 500; }

.login-error {
    color: var(--danger);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 16px;
    padding: 10px;
    background: rgba(239, 68, 68, 0.06);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(239, 68, 68, 0.1);
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.15s ease-out;
}

.modal.modal-lg { max-width: 850px; }
.modal.modal-xl { max-width: 1050px; }

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.98) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-color);
}

.modal-title { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); letter-spacing: -0.02em; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; padding: 4px; transition: var(--transition); }
.modal-close:hover { color: var(--danger); }
.modal-body { padding: 28px; overflow-y: auto; flex: 1; }
.modal-footer { display: flex; gap: 12px; justify-content: flex-end; padding: 16px 28px; border-top: 1px solid var(--border-color); background: var(--bg-primary); border-radius: 0 0 var(--radius) var(--radius); }

/* ============================================================
   TOASTS
   ============================================================ */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.2s ease-out;
}

.toast-icon { font-size: 1.1rem; }
.toast.success { border-left: 4px solid var(--success); }
.toast.success .toast-icon { color: var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.toast.error .toast-icon { color: var(--danger); }

.toast-message { font-size: 0.875rem; font-weight: 500; color: var(--text-primary); flex: 1; }
.toast-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.1rem; }

@keyframes toastIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   UPLOAD ZONE
   ============================================================ */
.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-primary);
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--accent);
    background: rgba(249, 115, 22, 0.02);
}

.upload-zone i { font-size: 2.2rem; color: var(--text-muted); margin-bottom: 12px; }
.upload-zone p { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; }
.upload-zone .hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

.upload-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.upload-preview-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.upload-preview-item.is-cover { border: 2px solid var(--accent); }
.upload-preview-item img { width: 100%; height: 100%; object-fit: cover; }

.upload-preview-item .preview-actions {
    position: absolute;
    top: 4px;
    right: 4px;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: var(--transition);
}

.upload-preview-item:hover .preview-actions { opacity: 1; }

.preview-action-btn {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: var(--transition);
}

.preview-action-btn.delete { background: var(--danger); color: #fff; }

/* ============================================================
   LOADING / EMPTY STATES
   ============================================================ */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    color: var(--text-muted);
}

.spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 12px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
    text-align: center;
    padding: 48px 16px;
    color: var(--text-muted);
}

.empty-state i { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.6; }
.empty-state h4 { font-size: 1rem; color: var(--text-secondary); margin-bottom: 4px; font-weight: 600; }
.empty-state p { font-size: 0.85rem; }

/* ============================================================
   QUILL EDITOR ADJUSTMENTS
   ============================================================ */
.ql-toolbar.ql-snow { border-color: var(--border-color) !important; background: var(--bg-primary) !important; border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important; }
.ql-container.ql-snow { border-color: var(--border-color) !important; background: var(--bg-secondary) !important; border-radius: 0 0 var(--radius-sm) var(--radius-sm) !important; min-height: 150px; }
.ql-editor { color: var(--text-primary) !important; font-family: 'Inter', sans-serif !important; font-size: 0.9rem !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .mobile-toggle { display: block; }
    .page-content { padding: 20px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .form-row { grid-template-columns: 1fr; }
    .data-table { display: block; overflow-x: auto; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FORCE CHANGE PASSWORD MODAL
   Aparece no primeiro login de um tenant novo (senha temporaria).
   Bloqueia todo o painel ate o usuario trocar a senha.
   ============================================================ */
.force-change-password-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Backdrop escuro e bloqueante — nao da pra clicar fora */
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 20px;
    animation: fcp-fade-in 0.2s ease;
}

@keyframes fcp-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.force-change-password-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 440px;
    padding: 40px;
    animation: fcp-slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fcp-slide-up {
    from { transform: translateY(24px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.force-change-password-header {
    text-align: center;
    margin-bottom: 28px;
}

.force-change-password-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(249, 115, 22, 0.06));
    color: var(--accent, #F97316);
    font-size: 1.6rem;
}

.force-change-password-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    margin-bottom: 8px;
}

.force-change-password-header p {
    font-size: 0.9rem;
    color: var(--text-secondary, #64748b);
    line-height: 1.5;
    max-width: 340px;
    margin: 0 auto;
}

.force-change-password-error {
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 16px;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

#forceChangePasswordForm .form-group {
    margin-bottom: 18px;
}

#forceChangePasswordForm .btn-full {
    margin-top: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 480px) {
    .force-change-password-card { padding: 28px 24px; }
    .force-change-password-header h2 { font-size: 1.3rem; }
}
