/* ============================================
   MediSaaS - Hospital Management System
   Professional Responsive Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0d7377;
    --primary-dark: #095c5f;
    --primary-light: #32e0c4;
    --secondary: #14a085;
    --accent: #e29578;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --danger: #dc3545;
    --success: #28a745;
    --warning: #ffc107;
    --info: #17a2b8;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 30px rgba(13,115,119,0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a192f 0%, #112240 40%, #1a3a52 100%);
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-animation .floating-icon {
    position: absolute;
    opacity: 0.08;
    color: var(--primary-light);
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.08;
    }
    90% {
        opacity: 0.08;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.bg-animation .circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(50, 224, 196, 0.1);
    animation: pulseCircle 4s ease-in-out infinite;
}

@keyframes pulseCircle {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

/* Gradient Orbs */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbMove 20s ease-in-out infinite;
}

.bg-orb.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary), transparent);
    top: -100px;
    left: -100px;
}

.bg-orb.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary), transparent);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.bg-orb.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--primary-light), transparent);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes orbMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 10px) scale(1.05); }
}

/* Login Container */
.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 95%;
    min-height: 600px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(13, 115, 119, 0.15);
    position: relative;
    z-index: 1;
}

/* Branding Side */
.login-branding {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(13,115,119,0.3) 0%, rgba(10,25,47,0.5) 100%);
    position: relative;
    overflow: hidden;
}

.login-branding::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(50,224,196,0.3), transparent);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.brand-logo .logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(13, 115, 119, 0.4);
}

.brand-logo h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.brand-logo h1 span {
    color: var(--primary-light);
}

.brand-tagline {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 50px;
    line-height: 1.8;
}

.brand-features {
    list-style: none;
}

.brand-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    transition: var(--transition);
}

.brand-features li:hover {
    color: var(--white);
    transform: translateX(5px);
}

.brand-features li i {
    width: 36px;
    height: 36px;
    background: rgba(50, 224, 196, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 14px;
    flex-shrink: 0;
}

/* Form Side */
.login-form-wrapper {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    margin-bottom: 35px;
}

.login-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.login-header p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* Form Styles */
.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.4);
    font-size: 16px;
    transition: var(--transition);
}

.form-control {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    outline: none;
}

.form-control::placeholder {
    color: rgba(255,255,255,0.35);
}

.form-control:focus {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(50, 224, 196, 0.15);
}

.form-control:focus + i,
.input-wrapper:focus-within i {
    color: var(--primary-light);
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    background: none;
    border: none;
    padding: 0;
}

.password-toggle:hover {
    color: var(--primary-light);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.forgot-link {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

.forgot-link:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Login Button */
.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(13, 115, 119, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 115, 119, 0.5);
}

.btn-login:active {
    transform: translateY(0);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: rgba(255,255,255,0.3);
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.divider span {
    padding: 0 15px;
}

/* Support Info */
.support-info {
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    margin-top: 20px;
}

.support-info a {
    color: var(--primary-light);
    text-decoration: none;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    padding: 16px 24px;
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-bottom: 10px;
}

.toast.show {
    transform: translateX(0);
}

.toast.error-toast {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-left: 4px solid #ff6b6b;
}

.toast.success-toast {
    background: linear-gradient(135deg, #28a745, #218838);
    border-left: 4px solid #5dd879;
}

.toast.warning-toast {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: var(--dark);
    border-left: 4px solid #ffe066;
}

.toast i {
    font-size: 18px;
}

/* ============================================
   DASHBOARD LAYOUT
   ============================================ */
.dashboard-body {
    background: #f0f4f8;
    min-height: 100vh;
}

.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    transition: var(--transition);
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-header .logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.sidebar-header .brand-text {
    font-size: 20px;
    font-weight: 700;
}

.sidebar-header .brand-text span {
    color: var(--primary-light);
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0 15px;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(50, 224, 196, 0.1);
    color: var(--primary-light);
}

.sidebar-nav a.active {
    background: linear-gradient(90deg, rgba(50,224,196,0.15), transparent);
    border-left: 3px solid var(--primary-light);
}

.sidebar-nav a i {
    width: 22px;
    text-align: center;
    font-size: 16px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.tenant-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.tenant-info i {
    color: var(--primary-light);
    font-size: 18px;
}

.tenant-info div {
    font-size: 12px;
}

.tenant-info .tenant-name {
    color: var(--white);
    font-weight: 600;
}

.tenant-info .tenant-label {
    color: rgba(255,255,255,0.5);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: var(--transition);
}

/* Top Header */
.top-header {
    background: var(--white);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--dark);
    cursor: pointer;
    padding: 5px;
}

.page-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gray-light);
    background: var(--white);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    font-size: 16px;
}

.header-btn:hover {
    background: var(--light);
    color: var(--primary);
    border-color: var(--primary);
}

.header-btn .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: var(--danger);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-light);
    cursor: pointer;
    transition: var(--transition);
}

.user-profile:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.user-info {
    line-height: 1.3;
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.user-role {
    font-size: 11px;
    color: var(--gray);
}

/* Content Area */
.content-area {
    padding: 25px 30px;
    flex: 1;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.stat-card.primary::before { background: var(--primary); }
.stat-card.success::before { background: var(--success); }
.stat-card.warning::before { background: var(--warning); }
.stat-card.danger::before { background: var(--danger); }

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-card.primary .stat-icon { background: rgba(13,115,119,0.1); color: var(--primary); }
.stat-card.success .stat-icon { background: rgba(40,167,69,0.1); color: var(--success); }
.stat-card.warning .stat-icon { background: rgba(255,193,7,0.1); color: #d39e00; }
.stat-card.danger .stat-icon { background: rgba(220,53,69,0.1); color: var(--danger); }

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.stat-change {
    font-size: 12px;
    font-weight: 500;
}

.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* Content Cards */
.content-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
    overflow: hidden;
}

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

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

.card-body {
    padding: 24px;
}

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

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
}

.data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.data-table tbody tr {
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition);
}

.data-table tbody tr:hover {
    background: #f8f9fa;
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

/* Status Badges */
.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success { background: rgba(40,167,69,0.15); color: var(--success); }
.badge-warning { background: rgba(255,193,7,0.15); color: #856404; }
.badge-danger { background: rgba(220,53,69,0.15); color: var(--danger); }
.badge-info { background: rgba(23,162,184,0.15); color: var(--info); }

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
    cursor: pointer;
}

.action-btn:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.action-btn i {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.action-btn.primary i { background: rgba(13,115,119,0.1); color: var(--primary); }
.action-btn.success i { background: rgba(40,167,69,0.1); color: var(--success); }
.action-btn.warning i { background: rgba(255,193,7,0.1); color: #d39e00; }
.action-btn.danger i { background: rgba(220,53,69,0.1); color: var(--danger); }

.action-text {
    font-size: 14px;
    font-weight: 500;
}

.action-desc {
    font-size: 12px;
    color: var(--gray);
}

/* Logout Button */
.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: rgba(220,53,69,0.1);
    border: 1px solid rgba(220,53,69,0.2);
    border-radius: var(--radius-sm);
    color: #dc3545;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.btn-logout:hover {
    background: rgba(220,53,69,0.2);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .login-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .login-branding {
        display: none;
    }

    .login-form-wrapper {
        padding: 40px 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 99;
    }

    .overlay.show {
        display: block;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .login-container {
        width: 100%;
        min-height: 100vh;
        border-radius: 0;
        border: none;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
    }

    .login-form-wrapper {
        padding: 30px 20px;
    }

    .login-header h2 {
        font-size: 24px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .top-header {
        padding: 12px 15px;
    }

    .page-title {
        font-size: 18px;
    }

    .content-area {
        padding: 15px;
    }

    .user-info {
        display: none;
    }

    .card-header {
        padding: 15px;
    }

    .card-body {
        padding: 15px;
        overflow-x: auto;
    }

    .data-table {
        min-width: 600px;
    }

    .toast {
        min-width: auto;
        max-width: 90vw;
        right: 5vw;
        left: 5vw;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 479px) {
    .login-header h2 {
        font-size: 20px;
    }

    .form-control {
        padding: 12px 12px 12px 44px;
        font-size: 14px;
    }

    .btn-login {
        padding: 13px;
        font-size: 15px;
    }

    .form-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out forwards;
}

/* Loading Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(13,115,119,0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(13,115,119,0.5);
}
