/* Modern premium CSS styling for Telegram Broadcast Center */

:root {
    --bg-dark: #080b12;
    --bg-darker: #05070a;
    --panel-bg: rgba(13, 20, 35, 0.65);
    --panel-border: rgba(255, 255, 255, 0.08);
    
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.3);
    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.3);
    
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --success-border: rgba(16, 185, 129, 0.25);
    
    --blocked: #f59e0b;
    --blocked-bg: rgba(245, 158, 11, 0.1);
    --blocked-border: rgba(245, 158, 11, 0.25);
    
    --failed: #ef4444;
    --failed-bg: rgba(239, 68, 68, 0.1);
    --failed-border: rgba(239, 68, 68, 0.25);
    
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background animated glow */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
    animation: floatGlow 15s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(150px, 100px) scale(1.2); }
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Page Layout */
.app-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px rgba(99, 102, 241, 0.3); }
    100% { box-shadow: 0 0 20px rgba(6, 182, 212, 0.6); }
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text h1 span {
    background: linear-gradient(to right, var(--cyan), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.logo-text p {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

/* Status Badge */
.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.state-idle .status-dot { background-color: var(--text-muted); box-shadow: 0 0 8px var(--text-muted); }
.state-running .status-dot { background-color: var(--success); box-shadow: 0 0 8px var(--success); animation: pulseDot 1.5s infinite; }
.state-paused .status-dot { background-color: var(--blocked); box-shadow: 0 0 8px var(--blocked); }
.state-stopped .status-dot { background-color: var(--failed); box-shadow: 0 0 8px var(--failed); }

@keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* App Grid Split */
.app-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
    align-items: start;
}

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

/* Glassmorphic Panel Cards */
.glass-card {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.config-panel {
    display: flex;
    flex-direction: column;
}

.panel-section {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--cyan);
}

.section-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Forms & UI Elements */
input[type="text"], 
textarea, 
select {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-main);
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: var(--transition-fast);
}

input[type="text"]:focus, 
textarea:focus, 
select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 16px;
}

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

.form-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.form-row label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.form-select {
    flex-grow: 1;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-primary:disabled {
    background: var(--text-dark);
    color: var(--text-muted);
    box-shadow: none;
    cursor: not-allowed;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.btn-large {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border-radius: 12px;
}

/* Bot Manager specific styles */
.add-bot-input-group {
    display: flex;
    gap: 10px;
}

.add-bot-input-group input {
    flex-grow: 1;
}

.bot-bulk-import {
    margin-top: 8px;
    margin-bottom: 16px;
}

.bot-bulk-import a, 
.textarea-toggle-container a {
    font-size: 12px;
    color: var(--cyan);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.bot-bulk-import a:hover, 
.textarea-toggle-container a:hover {
    text-decoration: underline;
}

#bulk-bots-container,
#manual-uid-container {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bot-list-container {
    margin-top: 16px;
}

.bot-list-container h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.bot-list-scroll {
    max-height: 160px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.no-bots-msg {
    padding: 16px;
    font-size: 13px;
    color: var(--text-dark);
    text-align: center;
}

.bot-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 13px;
}

.bot-item:last-child {
    border-bottom: none;
}

.bot-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bot-status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.bot-status-active { background-color: var(--success); box-shadow: 0 0 6px var(--success); }
.bot-status-limited { background-color: var(--blocked); box-shadow: 0 0 6px var(--blocked); }

.bot-username {
    font-weight: 600;
}

.bot-token-masked {
    color: var(--text-dark);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
}

.btn-remove-bot {
    background: transparent;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: var(--transition-fast);
}

.btn-remove-bot:hover {
    color: var(--failed);
}

/* File Upload / UIDs styles */
.drop-zone {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
}

.drop-zone.dragover {
    border-color: var(--cyan);
    background: rgba(6, 182, 212, 0.05);
}

.drop-icon {
    font-size: 32px;
    color: var(--text-muted);
    margin-bottom: 8px;
    transition: var(--transition-fast);
}

.drop-zone.dragover .drop-icon {
    color: var(--cyan);
    transform: translateY(-3px);
}

.drop-text {
    font-size: 14px;
    font-weight: 600;
}

.drop-subtext {
    font-size: 11px;
    color: var(--text-dark);
    margin-top: 4px;
}

.loaded-uids-card {
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
}

.card-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-detail .label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.count-badge {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(99, 102, 241, 0.2));
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--cyan);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.hidden {
    display: none !important;
}

/* Composer styling */
.content-type-selector {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 16px;
}

.selector-btn {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.selector-btn.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.photo-upload-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
}

.photo-upload-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.photo-file-selector {
    display: flex;
    align-items: center;
    gap: 16px;
}

.photo-file-selector input[type="file"] {
    font-size: 12px;
    color: var(--text-muted);
}

.photo-preview {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-preview i {
    font-size: 20px;
    color: var(--text-dark);
}

.photo-preview span {
    font-size: 8px;
    color: var(--text-dark);
    text-align: center;
}

.formatting-tips {
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-dark);
}

.formatting-tips code {
    background: rgba(0,0,0,0.2);
    padding: 2px 4px;
    border-radius: 4px;
    color: var(--text-muted);
}

.help-icon {
    font-size: 12px;
    color: var(--text-dark);
    cursor: help;
    margin-left: 4px;
}

/* Speed Slider styling */
.slider-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 16px;
}

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

.slider-header span {
    font-size: 14px;
    font-weight: 700;
    color: var(--cyan);
}

.speed-slider-control {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    margin-bottom: 8px;
}

.speed-slider-control::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--primary) 100%);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
    transition: var(--transition-fast);
}

.speed-slider-control::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.slider-warning-text {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

.slider-warning-text i {
    color: var(--blocked);
}

/* RIGHT PANEL: Live Stats Dashboard */
.status-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stats-overview {
    padding: 24px;
}

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

.stats-header h2 {
    font-size: 18px;
    font-weight: 700;
}

.control-actions {
    display: flex;
    gap: 10px;
}

.control-btn {
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-family: inherit;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.control-btn.pause {
    background: rgba(245, 158, 11, 0.15);
    color: var(--blocked);
    border: 1px solid rgba(245, 158, 11, 0.25);
}
.control-btn.pause:hover {
    background: rgba(245, 158, 11, 0.25);
}

.control-btn.resume {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.25);
}
.control-btn.resume:hover {
    background: rgba(16, 185, 129, 0.25);
}

.control-btn.stop {
    background: rgba(239, 68, 68, 0.15);
    color: var(--failed);
    border: 1px solid rgba(239, 68, 68, 0.25);
}
.control-btn.stop:hover {
    background: rgba(239, 68, 68, 0.25);
}

.stats-grid-container {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 24px;
    align-items: center;
}

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

/* Circular Progress ring */
.progress-circle-area {
    display: flex;
    justify-content: center;
}

.circular-progress {
    position: relative;
    width: 120px;
    height: 120px;
}

.progress-svg {
    transform: rotate(-90deg);
    width: 120px;
    height: 120px;
}

.progress-bg-circle {
    fill: none;
    stroke: rgba(255,255,255,0.03);
    stroke-width: 8;
}

.progress-bar-circle {
    fill: none;
    stroke: url(#progress-gradient);
    /* For browser compatibility, will use inline fallback color or JS stroke gradient */
    stroke: var(--cyan);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 314.16;
    stroke-dashoffset: 314.16;
    transition: stroke-dashoffset 0.35s;
}

.progress-text-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#percent-complete {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.progress-text-center .sub-label {
    font-size: 10px;
    color: var(--text-dark);
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Numerical stats list */
.numerical-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
}

.stat-box {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 20px;
    font-weight: 800;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.count-total .stat-number { color: #fff; }
.count-sent .stat-number { color: var(--primary); }
.count-success .stat-number { color: var(--success); }
.count-success .stat-label i { color: var(--success); }
.count-blocked .stat-number { color: var(--blocked); }
.count-blocked .stat-label i { color: var(--blocked); }
.count-failed .stat-number { color: var(--failed); }
.count-failed .stat-label i { color: var(--failed); }

/* Stats Row Meta details */
.metrics-meta-row {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 11px;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 15px;
    font-weight: 700;
}

.accent-cyan { color: var(--cyan); }
.accent-purple { color: #a78bfa; }

/* Activity Logs Terminal styling */
.console-logs-card {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.console-header h2 {
    font-size: 15px;
    font-weight: 700;
}

.console-tools {
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (max-width: 640px) {
    .console-tools {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }
}

.console-search {
    position: relative;
    width: 200px;
}

.console-search input {
    font-size: 11px;
    padding: 6px 12px 6px 30px;
    border-radius: 6px;
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: var(--text-dark);
}

.console-options {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkbox-label {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.btn-clear-terminal {
    background: transparent;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    font-size: 13px;
    padding: 4px;
    transition: var(--transition-fast);
}

.btn-clear-terminal:hover {
    color: var(--failed);
}

.console-terminal-wrapper {
    padding: 16px;
    background: var(--bg-darker);
    flex-grow: 1;
    min-height: 250px;
}

.console-terminal {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    line-height: 1.6;
    height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.console-row {
    white-space: pre-wrap;
    word-break: break-all;
    opacity: 0.85;
}

.console-row span.time {
    color: var(--text-dark);
    margin-right: 8px;
}

.console-row.success-msg { color: var(--success); }
.console-row.warning-msg { color: var(--blocked); }
.console-row.error-msg { color: var(--failed); }
.console-row.blocked-msg { color: #f472b6; } /* soft pink for blocked */
.console-row.system-msg { color: var(--cyan); }
.console-row.info-msg { color: var(--text-muted); }

/* Toast Notifications styling */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.toast {
    background: rgba(13, 20, 35, 0.9);
    border: 1px solid var(--panel-border);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    padding: 12px 20px;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(20px);
    opacity: 0;
    animation: toastIn 0.3s forwards;
}

.toast.toast-success { border-left: 4px solid var(--success); }
.toast.toast-error { border-left: 4px solid var(--failed); }
.toast.toast-warning { border-left: 4px solid var(--blocked); }

@keyframes toastIn {
    to { transform: translateY(0); opacity: 1; }
}

.toast.fade-out {
    animation: toastOut 0.3s forwards;
}

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