/* ==========================================================================
   MEDICOMON DESIGN SYSTEM (VANILLA CSS)
   Harmonious Slate/Emerald Theme & Premium Micro-Animations
   ========================================================================== */

/* 1. Global Reset & Variables */
:root {
    --bg-main: #090d16;
    --bg-card: rgba(17, 25, 40, 0.75);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(16, 185, 129, 0.4);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --accent-emerald: #10b981;
    --accent-emerald-hover: #059669;
    --accent-emerald-glow: rgba(16, 185, 129, 0.15);
    
    --accent-blue: #3b82f6;
    --accent-blue-hover: #2563eb;
    --accent-blue-glow: rgba(59, 130, 246, 0.15);
    
    --accent-warning: #f59e0b;
    --accent-warning-glow: rgba(245, 158, 11, 0.15);
    
    --accent-danger: #ef4444;
    --accent-danger-hover: #dc2626;
    --accent-danger-glow: rgba(239, 68, 68, 0.15);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    
    --shadow-premium: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', var(--font-sans);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Glow */
.glow-bg {
    position: absolute;
    top: -10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(59, 130, 246, 0.03) 50%, rgba(0,0,0,0) 100%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 2. Header and Layout Components */
.app-header {
    background: rgba(9, 13, 22, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.accent-text {
    color: var(--accent-emerald);
}

.user-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-greeting {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
}

.user-greeting i {
    width: 16px;
    height: 16px;
    color: var(--accent-emerald);
}

/* 3. Base UI Elements (Cards, Buttons, Alerts) */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: #fff;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-emerald-hover));
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-emerald-hover), #047857);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-glass);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
}

.btn-emerald {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
    color: var(--accent-emerald);
}

.btn-emerald:hover {
    background: var(--accent-emerald);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}

.btn-block {
    width: 100%;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.btn-icon-danger:hover {
    background: var(--accent-danger-glow);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--accent-danger);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Alerts */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-error {
    background: var(--accent-danger-glow);
    border-color: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.alert-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.alert-message {
    font-size: 13.5px;
    font-weight: 500;
}

/* 4. Forms and Input Fields */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

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

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    width: 18px;
    height: 18px;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-input {
    width: 100%;
    height: 48px;
    padding: 10px 16px 10px 46px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-input-sm {
    width: 100%;
    height: 38px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 13px;
    outline: none;
    transition: var(--transition-smooth);
}

.select-input {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 36px;
}

.select-input option {
    background-color: var(--bg-main);
    color: var(--text-primary);
}

.form-input:focus, .form-input-sm:focus {
    border-color: var(--accent-emerald);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px var(--border-focus);
}

.form-input:focus + .input-icon {
    color: var(--accent-emerald);
}

/* 5. Authentication View */
.auth-wrapper {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-footer-note {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 12.5px;
}

.auth-footer-note p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.auth-footer-note i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--accent-blue);
}

/* 6. Dashboard Layout & Content */
.app-main {
    flex-grow: 1;
    padding: 32px 0 60px 0;
}

/* Stat Grid Styling */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
}

.stat-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon-wrapper.success {
    background: var(--accent-emerald-glow);
    color: var(--accent-emerald);
}

.stat-icon-wrapper.info {
    background: var(--accent-blue-glow);
    color: var(--accent-blue);
}

.stat-icon-wrapper.warning {
    background: var(--accent-warning-glow);
    color: var(--accent-warning);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Two-Column Grid */
.dashboard-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (max-width: 900px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
}

.dashboard-section {
    padding: 28px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title-wrapper i {
    color: var(--accent-emerald);
    width: 24px;
    height: 24px;
}

.section-title-wrapper h2 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.section-description {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 24px;
}

/* 7. Medication Groups List */
.drug-groups-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.group-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 18px;
    transition: var(--transition-smooth);
}

.group-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.group-card-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.group-info {
    flex-grow: 1;
}

.group-name {
    font-size: 16px;
    font-weight: 600;
}

.group-desc {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Included Drugs Bullets */
.group-drugs {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-glass);
}

.group-drugs-title {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.drugs-bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.drugs-bullet-list li {
    font-size: 13px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.drugs-bullet-list li::before {
    content: "•";
    color: var(--accent-emerald);
    font-weight: bold;
    display: inline-block; 
    width: 8px;
}

.drug-bullet-name {
    font-weight: 500;
}

.drug-bullet-dosage {
    background: rgba(255, 255, 255, 0.05);
    padding: 1px 6px;
    border-radius: var(--radius-sm);
    font-size: 11.5px;
    color: var(--text-secondary);
}

.drug-bullet-instructions {
    color: var(--text-muted);
    font-size: 12px;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-icon {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    margin-bottom: 12px;
    opacity: 0.7;
}

.empty-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.empty-text {
    font-size: 12.5px;
    color: var(--text-secondary);
    max-width: 320px;
    margin: 0 auto;
}

/* 8. IoT Trackers Styling */
.form-subheader {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    margin-top: 8px;
}

.tracker-form-inline {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

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

.tokens-list-container {
    padding-top: 10px;
}

.tracker-tokens-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tracker-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.tracker-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.tracker-device-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.device-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
}

.tracker-device-name {
    font-size: 14px;
    font-weight: 600;
}

.tracker-target-group {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.inline-icon {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
}

.tracker-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.token-reveal-container {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
}

.token-mask-input {
    width: 100px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: monospace;
    font-size: 11px;
    outline: none;
    pointer-events: none;
}

.icon-sm {
    width: 14px;
    height: 14px;
}

.icon-xs {
    width: 12px;
    height: 12px;
}

.mt-3 { margin-top: 12px; }

/* Empty state small */
.empty-state-sm {
    text-align: center;
    padding: 24px;
    border: 1px dashed var(--border-glass);
    border-radius: var(--radius-md);
}

.empty-icon-sm {
    width: 32px;
    height: 32px;
    color: var(--text-muted);
    margin-bottom: 8px;
    opacity: 0.6;
}

.empty-title-sm {
    font-weight: 600;
    font-size: 13.5px;
    margin-bottom: 2px;
}

.empty-text-sm {
    font-size: 11.5px;
    color: var(--text-secondary);
    max-width: 240px;
    margin: 0 auto;
}

/* 9. Activity Logs Table */
.logs-section {
    padding: 28px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
}

.logs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13.5px;
}

.logs-table th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    font-weight: 600;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-glass);
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logs-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-glass);
    vertical-align: middle;
}

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

.logs-table tbody tr {
    transition: var(--transition-smooth);
}

.logs-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.015);
}

.log-time {
    display: flex;
    align-items: center;
    gap: 8px;
}

.log-icon-calendar {
    color: var(--accent-blue);
}

.log-group-badge {
    font-weight: 600;
    color: var(--text-primary);
}

/* Source Badges */
.source-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 11.5px;
    font-weight: 500;
}

.source-badge.manual {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.source-badge.iot {
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Status Pill */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
}

.status-pill.success {
    color: var(--accent-emerald);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 6px var(--accent-emerald);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
        box-shadow: 0 0 10px var(--accent-emerald);
    }
    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

.table-empty-state {
    text-align: center;
    padding: 40px !important;
}

.table-empty-icon {
    width: 36px;
    height: 36px;
    color: var(--text-muted);
    margin-bottom: 10px;
    opacity: 0.6;
}

/* 10. Security Modal for displaying generated Tokens */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: var(--transition-smooth);
}

.modal-overlay.hidden {
    display: none !important;
}

.modal-card {
    width: 100%;
    max-width: 520px;
    padding: 30px;
    border-color: rgba(255, 255, 255, 0.12);
}

.modal-header {
    margin-bottom: 18px;
}

.modal-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.success-icon {
    color: var(--accent-emerald);
    width: 28px;
    height: 28px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
    border-radius: 50%;
}

.modal-title-wrapper h2 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
}

.modal-text {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.text-warning {
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.15);
    padding: 10px 14px;
    border-radius: var(--radius-md);
}

.modal-token-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #000;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    margin-bottom: 20px;
}

.modal-token-display code {
    font-family: monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-emerald);
    word-break: break-all;
    user-select: all;
}

.iot-config-snippet {
    margin-bottom: 24px;
}

.snippet-title {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.code-snippet {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-family: monospace;
    font-size: 11px;
    color: var(--text-secondary);
    overflow-x: auto;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
}

/* 11. Footer Components */
.app-footer {
    border-top: 1px solid var(--border-glass);
    background: rgba(9, 13, 22, 0.5);
    padding: 24px 0;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: var(--text-muted);
}

.footer-meta {
    font-weight: 500;
}

/* 12. Keyframe Animations */
.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

.animate-zoom-in {
    animation: zoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(4px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
