/* ═══════════════════════════════════════════════════════════════
   AI INVOICE GENERATOR - PREMIUM DARK THEME
   © TimmyCrypto
═══════════════════════════════════════════════════════════════ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: #16161f;
    --bg-hover: #1f1f2a;

    --accent-primary: #00ff88;
    --accent-secondary: #00ccff;
    --accent-gradient: linear-gradient(135deg, #00ff88 0%, #00ccff 100%);
    --accent-purple: #8b5cf6;
    --accent-orange: #ff6b00;

    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;

    --border-color: #2a2a35;
    --border-accent: #00ff8840;

    --success: #00ff88;
    --warning: #ffaa00;
    --error: #ff4444;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 255, 136, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --transition: all 0.2s ease;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════════ */

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0f 0%, #12121a 50%, #1a1025 100%);
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 255, 136, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    position: relative;
    z-index: 10;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero-nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.hero-nav-links a:hover {
    color: var(--text-primary);
}

.hero-content {
    max-width: 700px;
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--accent-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 40px;
}

.btn-hero {
    background: var(--accent-gradient);
    color: #000;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.3);
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.hero-visual {
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.floating-invoice {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(3deg);
    }

    50% {
        transform: translateY(-20px) rotate(-3deg);
    }
}

.invoice-mini {
    width: 280px;
    height: 360px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.mini-header {
    font-size: 24px;
    font-weight: 800;
    color: #333;
    margin-bottom: 30px;
}

.mini-lines {
    height: 12px;
    background: #eee;
    border-radius: 6px;
    margin-bottom: 12px;
}

.mini-lines.short {
    width: 60%;
}

.mini-total {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-top: 60px;
    text-align: right;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURES SECTION
═══════════════════════════════════════════════════════════════ */

.features {
    padding: 100px 40px;
    background: var(--bg-secondary);
}

.features h2,
.pricing h2,
.faq h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   PRICING SECTION
═══════════════════════════════════════════════════════════════ */

.pricing {
    padding: 100px 40px;
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: #000;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.price {
    font-size: 48px;
    font-weight: 800;
}

.price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ SECTION
═══════════════════════════════════════════════════════════════ */

.faq {
    padding: 100px 40px;
    background: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.faq-item h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.faq-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */

.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 60px 40px 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-brand .logo-icon {
    font-size: 32px;
}

.footer-brand .logo-text {
    font-size: 24px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 12px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════════
   SETTINGS CARD
═══════════════════════════════════════════════════════════════ */

.settings-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(0, 204, 255, 0.1) 100%);
    border-color: rgba(139, 92, 246, 0.3);
}

.settings-info {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.api-help {
    margin-top: 16px;
    padding: 12px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.api-help a {
    color: var(--accent-primary);
}

/* ═══════════════════════════════════════════════════════════════
   VETERAN BRANDING
═══════════════════════════════════════════════════════════════ */

.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.veteran-badge {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 165, 0, 0.2) 100%) !important;
    border-color: rgba(255, 215, 0, 0.5) !important;
    color: #FFD700 !important;
}

.veteran-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 165, 0, 0.15) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: #FFD700;
    font-size: 13px;
    font-weight: 600;
}

.footer-bottom a {
    color: var(--accent-primary);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════════════
   APP LAYOUT
═══════════════════════════════════════════════════════════════ */

.app-container {
    display: flex;
    min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════════════ */

.sidebar {
    width: 260px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.nav-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-item.active {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-primary);
    border: 1px solid var(--border-accent);
}

.nav-icon {
    font-size: 18px;
}

.sidebar-footer {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #000;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    font-size: 14px;
}

.user-plan {
    font-size: 12px;
    color: var(--accent-primary);
}

/* ═══════════════════════════════════════════════════════════════
   MAIN CONTENT
═══════════════════════════════════════════════════════════════ */

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.header h1 {
    font-size: 28px;
    font-weight: 700;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

.header-right {
    display: flex;
    gap: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #000;
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
}

.btn-ai {
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    color: white;
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
}

.btn-ai:hover {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 14px;
    font-size: 13px;
    background: var(--accent-primary);
    color: #000;
    border-radius: var(--radius-sm);
}

.btn-small:hover {
    background: #00cc6a;
}

.btn-icon {
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.btn-icon:hover {
    background: var(--bg-hover);
}

.btn-delete {
    background: transparent;
    color: var(--error);
    padding: 6px 10px;
    border: none;
}

.btn-delete:hover {
    background: rgba(255, 68, 68, 0.1);
}

/* ═══════════════════════════════════════════════════════════════
   CONTENT GRID
═══════════════════════════════════════════════════════════════ */

.content-grid {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 24px;
    padding: 24px 32px;
    overflow-y: auto;
    flex: 1;
}

/* ═══════════════════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════════════════ */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.ai-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-color: rgba(139, 92, 246, 0.3);
}

.badge {
    background: var(--accent-purple);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   FORMS
═══════════════════════════════════════════════════════════════ */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

input,
select,
textarea {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.ai-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-input-group textarea {
    min-height: 100px;
    background: var(--bg-secondary);
}

/* ═══════════════════════════════════════════════════════════════
   ITEMS TABLE
═══════════════════════════════════════════════════════════════ */

.items-table {
    margin-bottom: 20px;
}

.items-header {
    display: grid;
    grid-template-columns: 2fr 80px 100px 100px 50px;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.item-row {
    display: grid;
    grid-template-columns: 2fr 80px 100px 100px 50px;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.item-row input {
    padding: 10px 12px;
}

.item-amount {
    font-weight: 600;
    color: var(--accent-primary);
}

/* ═══════════════════════════════════════════════════════════════
   TOTALS
═══════════════════════════════════════════════════════════════ */

.totals-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
}

.total-row.grand-total {
    padding-top: 16px;
    margin-top: 12px;
    border-top: 2px solid var(--accent-primary);
    font-size: 20px;
    font-weight: 700;
}

.total-row.grand-total span:last-child {
    color: var(--accent-primary);
}

/* ═══════════════════════════════════════════════════════════════
   PREVIEW PANEL
═══════════════════════════════════════════════════════════════ */

.preview-panel {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 24px;
    height: calc(100vh - 150px);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.preview-header h3 {
    font-size: 14px;
    font-weight: 600;
}

.preview-actions {
    display: flex;
    gap: 8px;
}

.invoice-preview {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #1a1a25;
}

.invoice-document {
    background: white;
    color: #1a1a2e;
    border-radius: 8px;
    padding: 40px;
    min-height: 600px;
    box-shadow: var(--shadow-lg);
}

.invoice-header-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #00ff88;
}

.invoice-brand h1 {
    font-size: 24px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.invoice-brand p {
    font-size: 12px;
    color: #666;
    margin: 2px 0;
}

.invoice-meta {
    text-align: right;
}

.invoice-meta h2 {
    font-size: 32px;
    color: #00ff88;
    margin-bottom: 12px;
}

.invoice-meta p {
    font-size: 12px;
    color: #666;
    margin: 4px 0;
}

.invoice-parties {
    margin-bottom: 30px;
}

.bill-to h4 {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.bill-to p {
    font-size: 14px;
    margin: 4px 0;
    color: #333;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.invoice-table th {
    background: #f5f5f5;
    padding: 12px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    color: #666;
    border-bottom: 2px solid #ddd;
}

.invoice-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.invoice-table .empty-row td {
    text-align: center;
    color: #999;
    font-style: italic;
}

.invoice-totals {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.totals-grid {
    display: grid;
    grid-template-columns: 120px 100px;
    gap: 8px;
    text-align: right;
}

.totals-grid .total-label {
    font-weight: 700;
    font-size: 16px;
    padding-top: 8px;
    border-top: 2px solid #00ff88;
}

.totals-grid .total-amount {
    font-weight: 700;
    font-size: 20px;
    color: #00ff88;
    padding-top: 8px;
    border-top: 2px solid #00ff88;
}

.invoice-notes {
    margin-bottom: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.invoice-notes h4 {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.invoice-notes p {
    font-size: 13px;
    color: #666;
}

.invoice-footer {
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 11px;
    color: #999;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════════════════════ */

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════════ */

.sparkle {
    display: inline-block;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .preview-panel {
        position: static;
        height: auto;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }
}