/* Source: pages/settings-index.css */
/* Settings Page - Simplified Design */

/* Page Header */
/* Page Header handled by ui-kit.css */

.save-status {
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 4px;
    transition: opacity 0.3s;
}

.save-status.saving {
    color: var(--primary);
}

.save-status.saved {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.save-status.error {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* Section */
.settings-section {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 12px);
    margin-bottom: var(--space-lg);
    overflow: hidden;
}

.section-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    font-weight: 600;
    background: rgba(99, 102, 241, 0.05);
    border-bottom: 1px solid var(--border);
}

.section-title small {
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
}

/* Settings List */
.settings-list {
    padding: 0;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-lg);
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}

.setting-row:last-child {
    border-bottom: none;
}

.setting-row:hover {
    background: rgba(99, 102, 241, 0.03);
}

.setting-info {
    flex: 1;
    min-width: 0;
}

.setting-name {
    display: block;
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.setting-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.setting-input {
    flex-shrink: 0;
    margin-left: var(--space-lg);
}

/* Inputs handled by ui-kit.css */
.setting-input .input-sm {
    min-width: 80px;
    width: 80px;
    text-align: center;
}

.setting-input .input-sm {
    min-width: 80px;
    width: 80px;
    text-align: center;
}

/* Toggle */
.toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-track {
    position: absolute;
    inset: 0;
    background: var(--border);
    border-radius: 24px;
    transition: background 0.2s;
}

.toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle input:checked+.toggle-track {
    background: var(--primary);
}

.toggle input:checked+.toggle-track .toggle-thumb {
    transform: translateX(20px);
}

/* Test Section */
.test-email-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(16, 185, 129, 0.03);
    border-top: 1px solid var(--border);
}

.test-form-inline {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.test-form-inline input {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    width: 200px;
}

.test-form-inline .btn-sm {
    padding: 6px 14px;
    font-size: 0.85rem;
}

/* Info Section */
.info-section .section-title {
    background: rgba(100, 116, 139, 0.05);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.info-value {
    font-size: 0.9rem;
    color: var(--text);
}

/* Badges handled by ui-kit.css */
.badge-mail {
    background: var(--bg-primary-subtle);
    color: var(--primary);
}

.badge-smtp {
    background: var(--bg-success-subtle);
    color: var(--status-resolved);
}

/* Responsive */
@media (max-width: 768px) {
    .setting-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .setting-input {
        margin-left: 0;
        width: 100%;
    }

    .setting-input input,
    .setting-input select {
        width: 100%;
        min-width: auto;
    }

    .test-form {
        flex-direction: column;
    }

    .test-form input {
        max-width: none;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Source: pages/news-index.css */
/* News Index Page Styles */
/* Note: Main layout now uses standard data-table from global styles */

.news-index-card {
    margin-top: var(--space-md);
}

/* Ensure table doesn't break layout */
.data-table {
    table-layout: auto;
}

/* Specific Badge Colors for Announcements */
.badge-default {
    background: var(--primary);
    color: white;
}

.badge-active {
    background: var(--status-resolved);
    /* Green */
    color: white;
}

.badge-scheduled {
    background: #f59e0b;
    /* Amber */
    color: white;
}

.badge-expired {
    background: var(--text-muted);
    color: white;
}

/* Column adjustments */
.news-index-card .data-table th:nth-child(3),
.news-index-card .data-table td:nth-child(3) {
    min-width: 300px;
}

/* Button override if needed */
.btn-danger-text {
    background: transparent;
    border: none;
    color: #ef4444;
}

.btn-danger-text:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Source: pages/news-form.css */
/* News Form Styles */

.page-header {
    margin-bottom: var(--space-lg);
}

.card-header {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border);
}

.card-header h2 {
    margin: 0;
    font-size: 1.25rem;
}

.card-body {
    padding: var(--space-lg);
}

/* Form Elements handled by ui-kit.css */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
}

.form-help {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

.form-actions {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

/* Rich Editor */
.rich-editor {
    min-height: 150px;
    background: var(--card-bg);
}

.ql-toolbar {
    background: var(--bg);
    border-color: var(--border) !important;
}

.ql-container {
    border-color: var(--border) !important;
    font-size: 0.95rem;
}

.ql-editor {
    min-height: 120px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Urgency Selector */
.urgency-selector {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.urgency-option {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--card-bg);
}

.urgency-option:hover {
    border-color: var(--text-muted);
}

.urgency-option input {
    display: none;
}

.urgency-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.urgency-option input:checked+.urgency-dot {
    transform: scale(1.3);
}

.urgency-info .urgency-dot {
    background: #3b82f6;
}

.urgency-warning .urgency-dot {
    background: #f59e0b;
}

.urgency-danger .urgency-dot {
    background: #ef4444;
}

.urgency-option:has(input:checked) {
    border-color: currentColor;
}

.urgency-info:has(input:checked) {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.urgency-warning:has(input:checked) {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.urgency-danger:has(input:checked) {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* Source: pages/honoraires-index.css */
/* Honoraires Index Page Styles */

/* Header */
.honoraires-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.filter-form {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.filter-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.filter-group .form-input {
    min-width: 120px;
}

.view-actions {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.view-toggle {
    display: flex;
    gap: 2px;
}

.view-toggle .btn {
    border-radius: 0;
}

.view-toggle .btn:first-child {
    border-radius: var(--radius) 0 0 var(--radius);
}

.view-toggle .btn:last-child {
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* Summary */
.summary-card {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-md);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: var(--space-lg);
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.summary-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* Table */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th,
.data-table td {
    padding: 10px var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.data-table th {
    background: var(--bg);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    padding: 8px var(--space-md);
}

/* Hover effect */
.data-table tbody tr {
    transition: background 0.15s ease;
}

.data-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.05);
}

[data-theme="dark"] .data-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.1);
}

.text-right {
    text-align: right !important;
}

.ticket-link,
.client-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ticket-link:hover,
.client-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.title-cell {
    max-width: 350px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.title-cell a {
    color: var(--text);
    font-weight: 400;
}

.title-cell a:hover {
    color: var(--primary);
}

.hours-cell {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.empty-row {
    text-align: center;
    color: var(--text-muted);
    padding: var(--space-xl) !important;
}

.total-row {
    background: var(--bg) !important;
}

.total-row td {
    border-top: 2px solid var(--border);
    font-size: 1rem;
    padding: 12px var(--space-md);
}

/* Status column centering */
.col-status {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .honoraires-header {
        flex-direction: column;
        align-items: stretch;
    }

    .view-actions {
        justify-content: space-between;
    }

    .data-table th,
    .data-table td {
        padding: 8px var(--space-sm);
        font-size: 0.85rem;
    }
}

/* Source: pages/honoraires-layout.css */
/* --------------------------------------------------------------------------
   Honoraires Layout
   -------------------------------------------------------------------------- */
.honoraires-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.filter-form {
    display: flex;
    gap: var(--space-md);
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-form .filter-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.view-actions {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

/* Source: pages/profile-index.css */
/* Profile Page Styles */

.pf-container {
    max-width: 700px;
    margin: 0 auto;
}

/* Alert (legacy - now using _flash.latte partial) */
.pf-alert {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-radius: var(--radius);
    margin-bottom: var(--space-lg);
    font-weight: 500;
}

.pf-alert.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--status-resolved);
    border: 1px solid var(--status-resolved);
}

.pf-alert.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--priority-critical);
    border: 1px solid var(--priority-critical);
}

.pf-alert-icon {
    font-size: 1.2rem;
}

/* Card */
.pf-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    overflow: hidden;
}

.pf-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.pf-card-icon {
    font-size: 1.4rem;
}

.pf-card-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.pf-card-body {
    padding: var(--space-lg);
}

/* Info Grid */
.pf-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.pf-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pf-info-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.pf-info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.pf-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    width: fit-content;
}

/* Form */
.pf-form-group {
    margin-bottom: var(--space-md);
}

.pf-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.pf-label {
    display: block;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.pf-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    background: var(--bg-card);
    color: var(--text);
    transition: all 0.2s;
}

.pf-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.pf-input::placeholder {
    color: var(--text-muted);
}

.pf-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 var(--space-md) 0;
    padding: 10px 14px;
    background: var(--bg);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
}

/* Actions */
.pf-actions {
    text-align: center;
    padding-top: var(--space-md);
}

.btn-lg {
    padding: 12px 28px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Responsive */
@media (max-width: 600px) {
    .pf-info-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .pf-form-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

/* Source: pages/login.css */
/* --------------------------------------------------------------------------
   Login Page
   -------------------------------------------------------------------------- */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered */
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    background: #020617;
    /* Slate 950 (Deep Navy) */
}

/* Base gradient background behind canvas */
.parallax-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #020617;
}

#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
}

.bg-layer {
    position: absolute;
    inset: -10%;
    /* Allow movement without showing edges */
    will-change: transform;
}

.layer-gradient {
    background: radial-gradient(circle at top right, #1e4b85, transparent 70%),
        linear-gradient(135deg, #0b1c2d 0%, #0f2c4d 50%, #153961 100%);
    background-size: 100% 100%;
    animation: gradientMove 30s ease infinite;
}

.layer-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.15;
    /* Much softer */
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.login-card {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    /* Stronger shadow */
    width: 100%;
    max-width: 400px;
    padding: 32px;
    position: relative;
    z-index: 10;

    /* Dark Glass Effect */
    background: rgba(15, 23, 42, 0.6);
    /* Slate 900 at 60% opacity */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);

    /* Borders: very subtle dark shine */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.login-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.login-logo {
    width: auto;
    max-width: 180px;
    height: auto;
    background: transparent;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-logo img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Force logo to white for dark theme contrast */
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    /* Slate 50 - Explicit light color */
    margin-bottom: var(--space-xs);
}

.login-subtitle {
    color: #94a3b8;
    /* Slate 400 */
    font-size: 0.9rem;
    margin-bottom: var(--space-xl);
}

/* Login Form Labels */
.login-card .form-label {
    color: #e2e8f0;
    /* Slate 200 */
    font-weight: 500;
}

.form-toggle .toggle-label {
    color: #cbd5e1;
    /* Toggle text */
}

/* Login Button Shine Effect */
.login-card .btn-primary {
    transition: all 0.3s ease;
}

.login-card .btn-primary:hover {
    box-shadow:
        0 0 20px rgba(59, 130, 246, 0.6),
        0 0 40px rgba(59, 130, 246, 0.4),
        0 0 60px rgba(59, 130, 246, 0.2);
    filter: brightness(1.15);
    transform: translateY(-2px);
}

.login-card .btn-primary:active {
    transform: translateY(0);
    box-shadow:
        0 0 10px rgba(59, 130, 246, 0.4),
        0 0 20px rgba(59, 130, 246, 0.2);
    filter: brightness(1.05);
}

/* Login Form Inputs - Ensure visibility */
.login-card input[type="text"],
.login-card input[type="password"],
.login-card input[type="email"] {
    background: rgba(15, 23, 42, 0.8);
    /* Dark semi-transparent bg */
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #f8fafc;
    /* White text for visibility */
    width: 100%;
}

.login-card input::placeholder {
    color: #94a3b8;
    /* Visible placeholder */
}

.login-card input:focus {
    background: rgba(15, 23, 42, 0.95);
    border-color: #3b82f6;
    color: #f8fafc;
}

/* Override browser autofill styles */
.login-card input:-webkit-autofill,
.login-card input:-webkit-autofill:hover,
.login-card input:-webkit-autofill:focus,
.login-card input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(15, 23, 42, 0.95) inset !important;
    -webkit-text-fill-color: #f8fafc !important;
    box-shadow: 0 0 0 30px rgba(15, 23, 42, 0.95) inset !important;
    caret-color: #f8fafc;
    transition: background-color 5000s ease-in-out 0s;
}

/* --------------------------------------------------------------------------
   Mobile Responsive
   -------------------------------------------------------------------------- */

/* Larger phones / Phablets (iPhone Pro Max, Galaxy Ultra, etc.) */
@media (max-width: 600px) {
    .login-card {
        padding: 28px;
    }

    .login-logo {
        max-width: 120px;
    }

    .login-title {
        font-size: 1.35rem;
    }
}

/* Standard smartphones */
@media (max-width: 480px) {
    .login-page {
        padding: 10px;
    }

    .login-card {
        padding: 24px 20px;
        border-radius: 12px;
        max-width: 100%;
    }

    .login-header {
        margin-bottom: var(--space-lg);
    }

    .login-logo {
        max-width: 120px;
    }

    .login-title {
        font-size: 1.25rem;
    }

    .login-subtitle {
        font-size: 0.85rem;
        margin-bottom: var(--space-lg);
    }

    .login-card .form-group {
        margin-bottom: var(--space-sm);
    }

    .login-card .btn-primary {
        padding: var(--space-sm) !important;
    }

    .login-footer {
        font-size: 0.75rem;
    }
}

/* Extra small screens (older phones) */
@media (max-width: 360px) {
    .login-page {
        padding: var(--space-sm);
    }

    .login-card {
        padding: 16px;
    }

    .login-logo {
        max-width: 80px;
    }

    .login-title {
        font-size: 1.1rem;
    }
}

/* Source: pages/auth-invite.css */
/* Auth Invite Styles */

.user-info-box {
    background: var(--bg);
    border-radius: var(--radius);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-xs) 0;
}

.info-row:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.info-value {
    font-weight: 600;
}

.btn-block {
    width: 100%;
    justify-content: center;
}
/* --- AUTH PAGES (Login & Invite) --- */
.login-header-img { max-height: 60px; }
.login-alert { margin-bottom: var(--space-md); }
.btn-lg-padding { padding: var(--space-md); }

/* Invite Page Specifics */
.invite-card { padding: 1.5rem; max-width: 440px; }
.invite-header { margin-bottom: 1.5rem; }
.invite-logo-wrap { margin-bottom: 1rem; }
.invite-logo { max-height: 50px; }
.invite-title { font-size: 1.5rem; }
.invite-subtitle { font-size: 0.85rem; }
.invite-alert { margin-bottom: 1rem; padding: 0.75rem; }
.invite-info-box { margin-bottom: 1.5rem; padding: 1rem; }
.invite-form-group { margin-bottom: 1rem; }
.invite-form-group-last { margin-bottom: 1.5rem; }

/* Animation Classes (Extracted from invite.latte) */
.animate-fade-up { animation: authFadeUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.animate-scale-in { animation: authScaleIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.animate-shake { animation: authShake 0.5s; }

@keyframes authFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes authScaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes authShake { 0%, 100% { transform: translateX(0); } 10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); } 20%, 40%, 60%, 80% { transform: translateX(5px); } }

/* Glass Card & Premium UI Components */
.glass-card {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.premium-title { font-weight: 800; color: #fff; margin-bottom: 0.25rem; letter-spacing: -0.025em; }
.premium-subtitle { color: #94a3b8; line-height: 1.5; }
.premium-link { color: var(--primary); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; transition: 0.2s; }
.premium-link:hover { border-bottom-color: var(--primary); }

.premium-info-box {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.premium-input {
    background: rgba(15, 23, 42, 0.5) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    padding: 0.625rem 0.875rem !important;
    padding-right: 2.75rem !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
}

.premium-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15) !important;
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #475569;
    cursor: pointer;
    padding: 4px;
    transition: 0.2s;
    border-radius: 6px;
}
.password-toggle:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }

.premium-error { color: #ef4444; font-size: 0.75rem; margin-top: 0.375rem; font-weight: 500; display: none; }

.premium-btn {
    width: 100%;
    padding: 0.75rem !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    border: none !important;
    box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.premium-btn:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 20px -5px rgba(14, 165, 233, 0.3) !important;
}

/* Auth Layout Utilities */
body.auth-overflow-hidden { height: 100%; overflow: hidden; }
