/* 
  File-Rocket Design System 
  Theme: Modern Light (Clean & Airy)
*/

@import url('https://fonts.font.im/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - Light Mode */
    --bg-body: #f8f9fc;
    --bg-card: #ffffff;
    --bg-input: #f0f2f5;

    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --secondary-gradient: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);

    --accent-primary: #4f46e5;
    --accent-secondary: #7c3aed;

    --text-main: #1f2937;
    --text-muted: #6b7280;
    --text-light: #9ca3af;

    --border-light: #e5e7eb;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 20px 25px -5px rgba(79, 70, 229, 0.15), 0 10px 10px -5px rgba(79, 70, 229, 0.06);

    --font-main: 'Outfit', sans-serif;
    --transition-fast: 0.2s ease;
    --radius-md: 16px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    min-height: 100vh;
    background-image:
        radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    background: transparent;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-gradient);
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* --- Buttons --- */
.btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 0.95rem;
}

.btn-text {
    background: transparent;
    color: var(--text-muted);
}

.btn-text:hover {
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.03);
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.2s;
    display: inline-grid;
    place-items: center;
    font-size: 14px;
}

.btn-icon:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-main);
}

.btn-icon.primary {
    color: var(--accent-primary);
}

.btn-icon.primary:hover {
    background: rgba(79, 70, 229, 0.1);
}

.btn-icon.danger {
    color: #ef4444;
}

.btn-icon.danger:hover {
    background: #fee2e2;
}

.btn-icon.success {
    color: #16a34a;
}

.btn-icon.success:hover {
    background: #dcfce7;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

/* User Dropdown */
.user-dropdown-container {
    position: relative;
    display: inline-block;
}

.user-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border-light);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}

.user-dropdown-btn:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-sm);
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown-container.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 16px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
    cursor: pointer;
    text-align: left;
    /* Ensure left align */
    border: none;
    background: none;
    width: 100%;
}

.dropdown-item:hover {
    background: var(--bg-input);
    color: var(--accent-primary);
}

.dropdown-item i {
    width: 18px;
    margin-right: 8px;
    color: var(--text-muted);
}

.dropdown-item:hover i {
    color: var(--accent-primary);
}

/* --- Glass/Card Components (Refactored for Light Mode) --- */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl, 0 20px 25px -5px rgba(0, 0, 0, 0.1));
}

.glass-btn {
    /* Keeping class name for compatibility, updating style */
    background: #fff;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-fast);
    text-decoration: none;
    display: inline-block;
}

.glass-btn:hover {
    border-color: var(--accent-primary);
    background: #fafafa;
    color: var(--accent-primary);
}

.glass-btn.primary {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
    position: relative;
    overflow: hidden;
}

.glass-btn.primary:hover {
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    transform: translateY(-2px);
}

/* Pulse animation for when files are ready */
.glass-btn.pulse {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(79, 70, 229, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    }
}

/* --- Hero --- */
.hero-section {
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Center widget vertically */
    padding-top: 20px;
    padding-bottom: 40px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
    text-align: center;
    font-weight: 800;
    letter-spacing: -2px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.text-gradient {
    /* background-clip is standard now, but keeping vendor prefixes for safety */
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 600px;
    text-align: center;
    line-height: 1.6;
}

/* --- Transfer Widget --- */
.transfer-widget {
    width: 100%;
    max-width: 540px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.widget-tabs {
    display: flex;
    background: var(--bg-input);
    border-radius: 14px;
    padding: 4px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: 600;
    font-size: 1rem;
}

.tab-btn.active {
    background: #fff;
    color: var(--accent-primary);
    box-shadow: var(--shadow-sm);
}

/* --- Drop Zone --- */
.drop-zone {
    border: 2px dashed var(--border-light);
    border-radius: var(--radius-md);
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    cursor: pointer;
    background: #fafafa;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.drop-zone.dragover {
    border-color: var(--accent-primary) !important;
    background: #eef2ff !important;
    transform: scale(0.995);
    box-shadow: 0 0 0 2px var(--accent-primary);
}

.drop-zone.compact {
    height: 175px;
    padding: 15px 0;
}

.drop-zone.compact .drop-zone-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.drop-zone.compact .drop-zone-text {
    font-size: 1rem;
}

.drop-zone.compact .drop-zone-actions {
    margin-top: 15px;
}

.drop-zone-icon {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 15px;
    transition: var(--transition-fast);
}

.drop-zone-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    margin: 0;
}

.drop-zone-subtext {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
    margin-bottom: 0;
}

.drop-zone i {
    color: #cbd5e1;
    /* Lighter icon default */
    transition: var(--transition-fast);
}

.drop-zone:hover {
    border-color: var(--accent-primary);
    background: #f5f3ff;
    /* very light purple tint */
}

.drop-zone:hover i,
.drop-zone:hover .drop-zone-icon {
    color: var(--accent-primary);
}

.drop-zone * {
    pointer-events: none;
}

/* Consolidated above */

.drop-zone-actions .btn-secondary {
    background: #ffffff;
    border: 1.5px solid var(--border-light);
    color: var(--text-main);
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.drop-zone-actions .btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.drop-zone-actions .btn-secondary i {
    font-size: 1rem;
    color: var(--accent-primary);
}

.drop-text-main {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    margin-top: 16px;
}

.drop-text-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* --- Transfer Mode Selection --- */
.mode-selection {
    margin-bottom: 24px;
}

.mode-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.mode-card:hover {
    border-color: #cbd5e1;
    background: #fafafa;
}

.mode-card.selected {
    border-color: var(--accent-primary);
    background: #f5f3ff;
    box-shadow: 0 0 0 1px var(--accent-primary);
    /* Simulate thick border without layout shift */
}

.mode-card input[type="radio"] {
    display: none;
}

.mode-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-input);
    color: var(--text-muted);
    display: grid;
    place-items: center;
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
    transition: 0.2s;
}

/* Active Icon Styles */
.mode-card.selected .mode-icon {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.mode-info {
    flex-grow: 1;
    text-align: left;
}

.mode-title {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mode-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    background: #fee2e2;
    color: #ef4444;
    /* Default to red/hot */
    font-weight: 600;
    text-transform: uppercase;
}

.mode-card.selected .badge {
    background: #dbeafe;
    color: #2563eb;
}

.check-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    display: "none";
    /* Hidden by default for cleaner look, or just show when selected */
    display: grid;
    place-items: center;
    color: white;
    font-size: 12px;
    transition: 0.2s;
}

.mode-card.selected .check-circle {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

/* --- File List Styles --- */
.file-list-container {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.file-list-container.hidden {
    display: none;
}

.file-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.file-list-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-list-title i {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

.btn-text-small {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-text-small:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.file-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 12px;
}

/* Custom Scrollbar */
.file-list::-webkit-scrollbar {
    width: 6px;
}

.file-list::-webkit-scrollbar-track {
    background: transparent;
}

.file-list::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 3px;
}

.file-list::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

.file-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    animation: fileEntrance 0.4s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes fileEntrance {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fileExit {
    to {
        opacity: 0;
        transform: translateX(30px);
        height: 0;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
        border-width: 0;
    }
}



.file-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.3rem;
    transition: 0.3s ease;
}


.file-icon.icon-image {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
}

.file-icon.icon-document {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
}

.file-icon.icon-video {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
}

.file-icon.icon-audio {
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
    color: #7c3aed;
}

.file-icon.icon-archive {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
}

.file-icon.icon-code {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #4f46e5;
}

.file-icon.icon-default {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #6b7280;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.file-size {
    display: flex;
    align-items: center;
    gap: 4px;
}

.file-status {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
}

.file-status.status-ready {
    background: #eff6ff;
    color: #3b82f6;
    border: 1px solid #dbeafe;
}

.file-status.status-uploading {
    background: #fffbeb;
    color: #f59e0b;
    border: 1px solid #fef3c7;
}

.file-status.status-complete {
    background: #f0fdf4;
    color: #10b981;
    border: 1px solid #dcfce7;
}

.file-status.status-error {
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fee2e2;
}

.file-progress {
    width: 100%;
    height: 4px;
    background: var(--bg-input);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 6px;
}

.file-progress-bar {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

.file-actions {
    display: flex;
    gap: 4px;
}

.file-action-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.2s;
    display: grid;
    place-items: center;
    font-size: 14px;
}

.file-action-btn:hover {
    background: #fee2e2;
    color: #ef4444;
}

.file-stats {
    display: flex;
    justify-content: space-between;
    padding: 16px 4px 4px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.file-stats strong {
    color: var(--accent-primary);
    font-weight: 700;
}

/* --- Features Grid --- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    padding: 40px 0 80px 0;
}

.feature-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.3);
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: 0.3s;
}

.feature-card:hover::before {
    background: var(--primary-gradient);
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 24px;
    height: 64px;
    width: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #16a34a;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.feature-icon i {
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    color: #e11d48;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Inputs --- */
.glass-input {
    width: 100%;
    padding: 16px;
    background: var(--bg-input);
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 18px;
    outline: none;
    transition: var(--transition-fast);
    text-align: center;
    letter-spacing: 3px;
    font-weight: 600;
}

.glass-input:focus {
    background: #fff;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* --- Modal System --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--shadow-2xl, 0 25px 50px -12px rgba(0, 0, 0, 0.25));
    transform: scale(0.95) translateY(20px);
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-input);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.2s;
}

.modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

.auth-input {
    text-align: left;
    padding: 12px 40px 12px 16px;
    /* Added right padding for eye icon */
    font-size: 16px;
    letter-spacing: 0.5px;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: 0.2s;
    display: flex;
    /* Ensure icon centers in button */
}

.password-toggle:hover {
    color: var(--accent-primary);
}

.input-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-main);
}

.shake {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
    border-color: #ef4444 !important;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* --- Toast Notifications --- */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
    opacity: 0;
    transform: translateY(-20px);
    animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
}

.toast.nav-out {
    animation: toastOut 0.3s ease forwards;
}

.toast i {
    font-size: 1.1rem;
}

.toast.success i {
    color: #16a34a;
}

.toast.error i {
    color: #ef4444;
}

.toast.info i {
    color: var(--accent-primary);
}

@keyframes toastIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
}

/* --- Custom Tooltip --- */
.custom-tooltip {
    position: fixed;
    background: rgba(30, 41, 59, 0.9);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 3000;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.custom-tooltip.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.text-left {
    text-align: left;
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.mb-2 {
    margin-bottom: 8px;
}

.input-group {
    margin-bottom: 20px;
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--border-light);
    padding: 0;
    text-align: center;
    color: var(--text-muted);
    background: #fff;
}

/* Scroll Hint */
.scroll-hint {
    margin-top: 40px;
    color: var(--text-light);
    font-size: 24px;
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}

.scroll-hint:hover {
    opacity: 1;
    color: var(--accent-primary);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Utils */
.hidden {
    display: none !important;
}

/* --- Custom Confirm Modal --- */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.custom-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom-modal-box {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    width: 90%;
    max-width: 400px;
    transform: scale(0.9);
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.custom-modal-overlay.active .custom-modal-box {
    transform: scale(1);
}

.custom-modal-box h3 {
    margin-bottom: 12px;
    color: var(--text-main);
}

.custom-modal-box p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-danger {
    background: #fee2e2;
    color: #ef4444;
}

.btn-danger:hover {
    background: #fecaca;
    transform: translateY(-1px);
}

/* --- Radio Card Group --- */
.radio-group {
    display: flex;
    gap: 12px;
}

.radio-option {
    position: relative;
    cursor: pointer;
}

.radio-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* --- Duration Selector (Plans) --- */
.duration-selector {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.duration-chip {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.duration-chip:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(79, 70, 229, 0.05);
}

.duration-chip.active {
    background: var(--accent-primary);
    color: white !important;
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.radio-content {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f3f4f6;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: 0.2s;
}

.radio-option input:checked+.radio-content {
    background: #eef2ff;
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    font-weight: 500;
}

.radio-option:hover .radio-content {
    background: #e5e7eb;
}

.radio-option input:checked+.radio-content::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8em;
}

/* --- Glassmorphism Utils --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-lg);
    border-radius: 20px;
}

.glass-input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    /* Optimized size */
    color: var(--text-main);
    transition: 0.2s;
    outline: none;
}

.glass-input:focus {
    border-color: var(--accent-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.glass-btn {
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}

.glass-btn:hover {
    background: #fff;
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.glass-btn.primary {
    background: var(--accent-primary);
    color: #fff;
    border: none;
}

.glass-btn.primary:hover {
    background: var(--accent-primary);
    /* Gradient handled by other classes if needed, plain color for glass mix */
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.4);
}

/* Promotion Button */
.promo-btn {
    position: fixed;
    bottom: 30px;
    /* Default low position */
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 998;
    animation: pulse 2s infinite;
}

.promo-btn.move-up {
    bottom: 90px;
}

.promo-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(244, 63, 94, 0.4);
}

.promo-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fff;
    color: #f43f5e;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    /* Prevent wrapping */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* System Settings Radio Visuals */
.radio-visual {
    border: 1px solid transparent;
    background: var(--bg-input);
    color: var(--text-muted);
}

.radio-visual:hover {
    background: #eef2ff;
    color: var(--accent-primary);
}

.radio-visual.active {
    background: #fff;
    border-color: var(--accent-primary);
    color: var(--accent-primary) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
}

/* --- User Dashboard Layout (Base) --- */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    padding-top: 100px;
    /* Navbar space */
}

.sidebar {
    width: 280px;
    padding: 24px;
    border-right: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.5);
    position: fixed;
    top: 100px;
    bottom: 0;
    display: flex;
    flex-direction: column;
}

.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 40px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 16px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: 0.2s;
    font-weight: 500;
}

.nav-item:hover,
.nav-item.active {
    background: #fff;
    color: var(--accent-primary);
    box-shadow: var(--shadow-sm);
}

.nav-item i {
    width: 24px;
    margin-right: 12px;
}

/* Profile Card */
.profile-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    border: 1px solid var(--border-light);
    background-image: linear-gradient(to right, #fff, #f8faff);
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-input);
    display: grid;
    place-items: center;
    font-size: 32px;
    color: var(--accent-primary);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.plan-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: 0.3s;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.plan-card.popular {
    border: 2px solid var(--accent-primary);
    background: linear-gradient(180deg, #f5f3ff 0%, #fff 100%);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 20px 0;
    letter-spacing: -1px;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin: 30px 0;
}

.features-list li {
    margin-bottom: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    color: #16a34a;
}

/* File Table Helper */
.file-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.table-row-hover:hover {
    background-color: #f8fafc;
}

.file-name-cell {
    font-weight: 500;
    color: var(--text-main);
    font-size: 1rem;
}

.file-meta-cell {
    color: var(--text-muted);
    font-size: 0.9em;
}

/* Prevent wrapping in tables for better scrolling */
.data-table th {
    text-align: left;
    white-space: nowrap;
}

.data-table td {
    white-space: nowrap;
}

/* Fixed Dashboard Navbar */
.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(248, 249, 252, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
    max-width: none;
    margin: 0;
    /* Override container centering */
    width: 100%;
    /* Ensure full width */
    padding-top: 24px;
    padding-bottom: 24px;
    padding-left: 40px;
    padding-right: 40px;
}

/* --- Features Section --- */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
    /* Ensure spacing from Hero */
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.feature-card {
    padding: 30px;
    transition: var(--transition-fast);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--bg-input);
    color: var(--accent-primary);
    display: grid;
    place-items: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.feature-card:hover .feature-icon {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

/* --- Responsive Design --- */

/* Large Screens (min-width: 1600px) */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }

    .hero-title {
        font-size: 5.5rem;
        margin-bottom: 32px;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        max-width: 800px;
        margin-bottom: 80px;
    }

    .transfer-widget {
        max-width: 700px;
        padding: 40px;
    }

    .drop-zone {
        height: 280px;
    }

    .drop-zone.compact {
        height: 220px;
    }

    .drop-zone-icon {
        font-size: 64px;
    }

    .drop-zone-text {
        font-size: 1.4rem;
    }

    .drop-zone-subtext {
        font-size: 1rem;
    }

    .tab-btn {
        padding: 16px;
        font-size: 1.1rem;
    }

    .mode-card {
        padding: 16px;
    }

    .mode-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .mode-title {
        font-size: 1.1rem;
    }

    .mode-desc {
        font-size: 0.95rem;
    }

    .glass-btn {
        padding: 16px 32px;
        font-size: 1.1rem;
    }
}


/* Tablet/Small Desktop (max-width: 1200px) */
@media (max-width: 1200px) {
    .container {
        padding: 0 48px;
    }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 16px;
    }

    .logo {
        font-size: 22px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 16px;
    }

    .transfer-widget {
        max-width: 90%;
        margin: 0 auto;
    }

    .features {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }



    /* Settings Mobile Adaptation (Tablet/Mobile common) */
    .avatar-section {
        flex-direction: column;
        text-align: center;
        gap: 20px !important;
    }

    .settings-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .transfer-widget {
        padding: 20px;
        width: 100%;
        max-width: 100%;
        margin-bottom: 40px;
        margin-top: 30px;
        /* Increase spacing from header */
        /* Separate from features section */
    }

    .drop-zone {
        height: 140px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .feature-card {
        margin-left: 12px;
        margin-right: 12px;
    }

    .modal-content {
        padding: 20px;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .navbar {
        padding-top: 24px;
        /* Increase spacing from browser top */
    }



    .nav-links {
        gap: 8px;
    }

    .btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .btn-text {
        font-size: 0.8rem;
    }

    .toast-container {
        width: 90%;
        top: 10px;
    }

    .back-to-top-btn,
    .promo-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .promo-btn.move-up {
        bottom: 70px;
    }

    /* --- Dashboard Mobile Adaptation --- */
    .dashboard-container {
        padding-top: 85px;
        position: relative;
        overflow-x: hidden;
        display: block;
        /* Disable flex on mobile to prevent overflow issues */
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 260px;
        z-index: 1001;
        /* Ensure above navbar */
        background: #fff;
        box-shadow: var(--shadow-xl);
        top: 0;
        /* Cover full height including navbar area */
        height: 100vh;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    /* Overlay for mobile sidebar */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        backdrop-filter: blur(4px);
    }

    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .main-content {
        margin-left: 0;
        padding: 16px;
        width: 100%;
        /* Restore 100% width */
        max-width: 100vw;
        /* Hard limit */
        box-sizing: border-box;
        /* Ensure padding is included in width */
        overflow-x: hidden;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        /* Stack vertically on mobile */
        gap: 20px;
    }

    .plan-card {
        padding: 24px;
        /* Reduce padding on mobile */
    }

    .profile-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px;
    }

    .profile-card div[style="text-align: right;"] {
        text-align: center !important;
        width: 100%;
        margin-top: 10px;
        padding-top: 16px;
        border-top: 1px solid var(--border-light);
    }

    /* Table Responsiveness */
    .glass-panel {
        overflow-x: auto;
    }

    .data-table {
        min-width: 600px;
        /* Ensure table doesn't squish too much */
    }

    /* Hamburger Menu Button */
    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        color: var(--text-main);
        font-size: 1.2rem;

        cursor: pointer;
        margin-right: 0;
        margin-left: 12px;
        /* Add space between profile and hamburger */
        order: 10;
        /* Force to the right (swap with profile) */
    }
}


/* Member Lock Overlay */
/* Member Lock Overlay - Frosted Glass Style */
.user-view {
    position: relative;
    /* Ensure overlay covers this correctly */
}

.member-lock-overlay {
    position: fixed;
    /* Fix to viewport to cover everything */
    top: 100px;
    /* Below Navbar */
    left: 280px;
    /* Right of Sidebar */
    width: calc(100% - 280px);
    height: calc(100% - 100px);

    /* Stronger blur and higher opacity for "opaque but frosted" feel */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Remove rounding to fill screen */
    border-radius: 0;
    animation: fadeIn 0.4s ease;
}

/* Mobile Adaptation */
@media (max-width: 480px) {
    .member-lock-overlay {
        left: 0;
        width: 100%;
        top: 85px;
        /* Mobile Navbar height */
        height: calc(100% - 85px);
        z-index: 1002;
        /* Above sidebar overlay if needed, but below sidebar content */
    }
}

.lock-message {
    /* Remove card styling as requested ("no popup") */
    background: transparent;
    padding: 20px;
    box-shadow: none;
    border: none;
    text-align: center;
    max-width: 500px;
}

.lock-icon {
    font-size: 3.5rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
    display: block;
    opacity: 0.9;
    filter: drop-shadow(0 4px 6px rgba(79, 70, 229, 0.2));
}

.lock-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.lock-desc {
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 32px;
    font-size: 1.05rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* --- Form Validation Error Styles --- */
.input-error {
    border-color: #ef4444 !important;
    background-color: #fef2f2;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
    animation: shake 0.4s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

.error-message-inline {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-weight: 500;
    transition: all 0.3s ease;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}