@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.ewdlgswx1m.bundle.scp.css';

/* /Components/Home/Features.razor.rz.scp.css */
.features-section[b-8r39p08ref] {
    padding: 120px 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.features-container[b-8r39p08ref] {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header[b-8r39p08ref] {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out;
}

.section-title[b-8r39p08ref] {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.section-subtitle[b-8r39p08ref] {
    font-size: clamp(16px, 2vw, 20px);
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid[b-8r39p08ref] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card[b-8r39p08ref] {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    animation: fadeInUp 0.8s ease-out;
}

.feature-card:hover[b-8r39p08ref] {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(41, 143, 237, 0.15);
    border-color: var(--brand-primary);
}

.feature-icon[b-8r39p08ref] {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    font-size: 32px;
}

.feature-title[b-8r39p08ref] {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.feature-description[b-8r39p08ref] {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.feature-benefits[b-8r39p08ref] {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.feature-benefits li[b-8r39p08ref] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    color: #475569;
}

.feature-benefits fluent-icon[b-8r39p08ref] {
    color: var(--brand-primary);
    flex-shrink: 0;
}

.feature-button[b-8r39p08ref] {
    width: 100%;
    padding: 14px;
    font-weight: 600;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
    transition: all 0.3s ease;
}

.feature-button:hover[b-8r39p08ref] {
    background: var(--brand-primary);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .features-section[b-8r39p08ref] {
        padding: 80px 16px;
    }

    .section-header[b-8r39p08ref] {
        margin-bottom: 48px;
    }

    .features-grid[b-8r39p08ref] {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card[b-8r39p08ref] {
        padding: 32px 24px;
    }
}
/* /Components/Home/Hero.razor.rz.scp.css */
.hero-container[b-w81gn3zj3l] {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        var(--accent-fill-rest) 0%, 
        var(--accent-fill-hover) 50%, 
        var(--accent-fill-active) 100%);
    overflow: hidden;
    padding: 80px 24px 120px;
}

/* Subtle overlay for better theme transitions and content readability */
.hero-container[b-w81gn3zj3l]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.05) 0%, 
        rgba(0, 0, 0, 0.1) 50%, 
        rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content[b-w81gn3zj3l] {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: fadeInUp-b-w81gn3zj3l 0.8s ease-out;
}

.hero-title[b-w81gn3zj3l] {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin: 0 0 24px 0;
    animation: fadeInUp-b-w81gn3zj3l 0.8s ease-out 0.3s both;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-title-highlight[b-w81gn3zj3l] {
    display: inline-block;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle[b-w81gn3zj3l] {
    font-size: clamp(16px, 2vw, 20px);
    color: white;
    opacity: 0.95;
    line-height: 1.6;
    margin: 0 auto 40px;
    max-width: 700px;
    animation: fadeInUp-b-w81gn3zj3l 0.8s ease-out 0.4s both;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.hero-cta[b-w81gn3zj3l] {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
    animation: fadeInUp-b-w81gn3zj3l 0.8s ease-out 0.5s both;
}


/* Document Type Dialog Styles */
.document-type-card[b-w81gn3zj3l] {
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 16px;
    border-left: 3px solid var(--accent-fill-rest);
    border-radius: 8px;
    background: var(--neutral-layer-1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    display: block;
}

.document-type-card:hover[b-w81gn3zj3l] {
    transform: translateX(4px);
    box-shadow: 0 4px 16px var(--accent-shadow);
    background: var(--neutral-layer-2);
    border-left-color: var(--accent-fill-hover);
}

.document-type-card:active[b-w81gn3zj3l] {
    transform: translateX(2px);
    transition-duration: 0.1s;
}

.hero-stats[b-w81gn3zj3l] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    animation: fadeInUp-b-w81gn3zj3l 0.8s ease-out 0.6s both;
}

.stat-item[b-w81gn3zj3l] {
    text-align: center;
}

.stat-item-small .stat-number[b-w81gn3zj3l] {
    font-size: 18px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 6px;
}

.stat-item-small .stat-label[b-w81gn3zj3l] {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.stat-item-large .stat-number[b-w81gn3zj3l] {
    font-size: 36px;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-item-large .stat-label[b-w81gn3zj3l] {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.stat-divider[b-w81gn3zj3l] {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.4);
}

.scroll-indicator[b-w81gn3zj3l] {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    animation: fadeIn-b-w81gn3zj3l 1s ease-out 1s both;
    transition: transform 0.3s ease;
    z-index: 2;
}

.scroll-indicator:hover[b-w81gn3zj3l] {
    transform: translateX(-50%) translateY(4px);
}

.scroll-text[b-w81gn3zj3l] {
    font-size: 12px;
    color: white;
    opacity: 0.85;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-icon[b-w81gn3zj3l] {
    color: white;
    animation: bounce-b-w81gn3zj3l 2s infinite;
}

.hero-decoration[b-w81gn3zj3l] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.decoration-circle[b-w81gn3zj3l] {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 70%, transparent 100%);
    backdrop-filter: blur(40px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.decoration-circle-1[b-w81gn3zj3l] {
    width: 500px;
    height: 500px;
    top: 5%;
    left: 5%;
    animation: float-b-w81gn3zj3l 25s ease-in-out infinite;
}

.decoration-circle-2[b-w81gn3zj3l] {
    width: 400px;
    height: 400px;
    bottom: 5%;
    left: 10%;
    animation: float-b-w81gn3zj3l 20s ease-in-out infinite reverse;
}

.decoration-circle-3[b-w81gn3zj3l] {
    width: 350px;
    height: 350px;
    top: 15%;
    left: 20%;
    animation: float-b-w81gn3zj3l 30s ease-in-out infinite;
}

.decoration-circle-4[b-w81gn3zj3l] {
    width: 450px;
    height: 450px;
    top: 10%;
    right: 10%;
    animation: floatAlt-b-w81gn3zj3l 22s ease-in-out infinite;
}

.decoration-circle-5[b-w81gn3zj3l] {
    width: 300px;
    height: 300px;
    bottom: 15%;
    right: 8%;
    animation: floatAlt-b-w81gn3zj3l 18s ease-in-out infinite reverse;
}

.decoration-circle-6[b-w81gn3zj3l] {
    width: 280px;
    height: 280px;
    top: 40%;
    left: 8%;
    animation: float-b-w81gn3zj3l 28s ease-in-out infinite;
}

@keyframes fadeIn-b-w81gn3zj3l {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp-b-w81gn3zj3l {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce-b-w81gn3zj3l {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes float-b-w81gn3zj3l {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(20px, -20px) scale(1.05);
    }
    66% {
        transform: translate(-15px, 15px) scale(0.95);
    }
}

@keyframes floatAlt-b-w81gn3zj3l {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(-25px, 15px) scale(1.05) rotate(120deg);
    }
    66% {
        transform: translate(15px, -15px) scale(0.95) rotate(240deg);
    }
}

@media (max-width: 768px) {
    .hero-container[b-w81gn3zj3l] {
        padding: 60px 16px 100px;
    }

    .hero-cta[b-w81gn3zj3l] {
        flex-direction: column;
        gap: 30px;
    }

    .hero-stats[b-w81gn3zj3l] {
        gap: 16px;
    }

    .stat-item-small .stat-number[b-w81gn3zj3l] {
        font-size: 16px;
    }

    .stat-item-small .stat-label[b-w81gn3zj3l] {
        font-size: 12px;
    }

    .stat-item-large .stat-number[b-w81gn3zj3l] {
        font-size: 28px;
    }

    .stat-item-large .stat-label[b-w81gn3zj3l] {
        font-size: 13px;
    }

    .stat-divider[b-w81gn3zj3l] {
        height: 30px;
    }

    .decoration-circle[b-w81gn3zj3l] {
        opacity: 0.5;
    }

    .scroll-indicator[b-w81gn3zj3l] {
        bottom: 20px;
    }
}
/* /Components/Home/UseCases.razor.rz.scp.css */
.use-cases-section[b-9m4pt266gy] {
    padding: 120px 24px;
    background: white;
}

.use-cases-container[b-9m4pt266gy] {
    max-width: 1200px;
    margin: 0 auto;
}

.use-cases-grid[b-9m4pt266gy] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.use-case-card[b-9m4pt266gy] {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    animation: fadeInUp-b-9m4pt266gy 0.8s ease-out;
}

.use-case-card:hover[b-9m4pt266gy] {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
}

.use-case-visual[b-9m4pt266gy] {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.visual-background[b-9m4pt266gy] {
    position: absolute;
    inset: 0;
    opacity: 0.9;
}

.visual-icon[b-9m4pt266gy] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 64px;
}

.use-case-content[b-9m4pt266gy] {
    padding: 32px 24px;
}

.use-case-title[b-9m4pt266gy] {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.use-case-description[b-9m4pt266gy] {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.use-case-scenarios[b-9m4pt266gy] {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.scenario-label[b-9m4pt266gy] {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.scenario-tags[b-9m4pt266gy] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.scenario-tag[b-9m4pt266gy] {
    display: inline-block;
    padding: 6px 12px;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.scenario-tag:hover[b-9m4pt266gy] {
    background: var(--brand-primary);
    color: white;
    transform: translateY(-2px);
}

.cta-banner[b-9m4pt266gy] {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-hover) 100%);
    border-radius: 24px;
    padding: 64px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    box-shadow: 0 12px 48px rgba(41, 143, 237, 0.3);
    animation: fadeInUp-b-9m4pt266gy 0.8s ease-out;
}

.cta-content[b-9m4pt266gy] {
    flex: 1;
}

.cta-title[b-9m4pt266gy] {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: white;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.cta-description[b-9m4pt266gy] {
    font-size: clamp(14px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

.cta-button[b-9m4pt266gy] {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    background: white;
    color: var(--brand-primary);
    border: none;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cta-button:hover[b-9m4pt266gy] {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInUp-b-9m4pt266gy {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .use-cases-section[b-9m4pt266gy] {
        padding: 80px 16px;
    }

    .use-cases-grid[b-9m4pt266gy] {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 48px;
    }

    .use-case-visual[b-9m4pt266gy] {
        height: 160px;
    }

    .visual-icon[b-9m4pt266gy] {
        font-size: 48px;
    }

    .cta-banner[b-9m4pt266gy] {
        flex-direction: column;
        text-align: center;
        padding: 48px 32px;
    }

    .cta-button[b-9m4pt266gy] {
        width: 100%;
    }
}
/* /Pages/Home.razor.rz.scp.css */
.home-page[b-ze77r83r4x] {
    margin: 0;
    padding: 0;
}

/* Override default padding from layout for home page */
.home-page ~ *[b-ze77r83r4x] {
    padding: 0 !important;
}
/* /Pages/Invoices.razor.rz.scp.css */
[b-dt13wa8l1g] fluent-body-content {
    background: #f5f7fa !important;
}

.invoice-generator[b-dt13wa8l1g] {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
}

.toolbar[b-dt13wa8l1g] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
    gap: 1rem;
}

.invoice-container[b-dt13wa8l1g] {
    background: white;
    padding: 3rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-radius: 2px;
}

/* Clean flat input styling using Fluent design tokens */
[b-dt13wa8l1g] fluent-text-field,
[b-dt13wa8l1g] fluent-text-area,
[b-dt13wa8l1g] fluent-number-field,
[b-dt13wa8l1g] fluent-date-picker {
    --accent-fill-rest: #298fed;
    --accent-fill-hover: #298fed;
    --accent-fill-active: #298fed;
    --accent-fill-focus: #298fed;
    --neutral-fill-input-rest: transparent;
    --neutral-fill-input-hover: transparent;
    --neutral-fill-input-active: transparent;
    --neutral-fill-input-focus: transparent;
    --neutral-stroke-rest: transparent;
    --neutral-stroke-hover: transparent;
    --neutral-stroke-active: transparent;
    --neutral-stroke-focus: transparent;
    --focus-stroke-outer: transparent;
    --focus-stroke-inner: transparent;
    border-radius: 0;
}

[b-dt13wa8l1g] fluent-text-field::part(control),
[b-dt13wa8l1g] fluent-text-area::part(control),
[b-dt13wa8l1g] fluent-number-field::part(control),
[b-dt13wa8l1g] fluent-date-picker::part(control) {
    border: none;
    border-bottom: 1px solid #e1e4e8;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0.375rem 0;
    font-size: 0.938rem;
}

[b-dt13wa8l1g] fluent-text-area::part(control) {
    padding: 0.5rem 0;
}

/* Header Section */
.invoice-header[b-dt13wa8l1g] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e1e4e8;
}

.company-info[b-dt13wa8l1g] {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.logo-upload[b-dt13wa8l1g] {
    flex-shrink: 0;
}

.logo-placeholder[b-dt13wa8l1g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: 140px;
    height: 140px;
    border: 2px dashed #d1d5da;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafbfc;
    position: relative;
}

.logo-placeholder[b-dt13wa8l1g]::before {
    content: '';
    width: 36px;
    height: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23959da5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'%3E%3C/circle%3E%3Cpolyline points='21 15 16 10 5 21'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.2s ease;
}

.logo-placeholder:hover[b-dt13wa8l1g] {
    border-color: #298fed;
    background: #f6f8fa;
}

.logo-placeholder:hover[b-dt13wa8l1g]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23298fed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'%3E%3C/circle%3E%3Cpolyline points='21 15 16 10 5 21'%3E%3C/polyline%3E%3C/svg%3E");
    transform: translateY(-2px);
}

.logo-text[b-dt13wa8l1g] {
    color: #586069;
    font-size: 0.813rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.logo-placeholder:hover .logo-text[b-dt13wa8l1g] {
    color: #298fed;
}

[b-dt13wa8l1g] .hidden-input {
    display: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.logo-preview[b-dt13wa8l1g] {
    position: relative;
    width: 140px;
    height: 140px;
}

.logo-preview img[b-dt13wa8l1g] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.remove-logo[b-dt13wa8l1g] {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #d73a49;
    color: white;
    border: 2px solid white;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.remove-logo:hover[b-dt13wa8l1g] {
    background: #cb2431;
    transform: scale(1.1);
}

.company-details[b-dt13wa8l1g] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    flex: 1;
}

.company-name[b-dt13wa8l1g]  input {
    font-size: 1.25rem;
    font-weight: 600;
    color: #24292e;
}

.company-address[b-dt13wa8l1g]  textarea,
.company-contact[b-dt13wa8l1g]  input {
    font-size: 0.875rem;
    color: #586069;
}

.invoice-meta[b-dt13wa8l1g] {
    text-align: right;
    min-width: 300px;
}

.invoice-title[b-dt13wa8l1g] {
    font-size: 2.75rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #24292e;
    margin: 0 0 1.5rem 0;
}

.meta-fields[b-dt13wa8l1g] {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.meta-row[b-dt13wa8l1g] {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    gap: 1rem;
}

.meta-label[b-dt13wa8l1g] {
    font-size: 0.813rem;
    font-weight: 500;
    color: #586069;
    text-align: left;
}

.meta-input[b-dt13wa8l1g]  input {
    text-align: right;
}

/* Body Sections */
.invoice-body[b-dt13wa8l1g] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-label[b-dt13wa8l1g] {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #586069;
    margin-bottom: 1rem;
}

/* Bill To Section */
.bill-to-section[b-dt13wa8l1g] {
    padding-bottom: 2rem;
    border-bottom: 1px solid #e1e4e8;
}

.bill-to-grid[b-dt13wa8l1g] {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
}

.bill-to-main[b-dt13wa8l1g] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.bill-to-contact[b-dt13wa8l1g] {
    display: flex;
    align-items: flex-start;
}

.client-name[b-dt13wa8l1g]  input {
    font-size: 1rem;
    font-weight: 600;
    color: #24292e;
}

.client-address[b-dt13wa8l1g]  textarea,
.client-email[b-dt13wa8l1g]  input {
    font-size: 0.875rem;
    color: #586069;
}

.client-email[b-dt13wa8l1g] {
    width: 100%;
}

/* Line Items Section */
.line-items-section[b-dt13wa8l1g] {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e4e8;
}

.items-table[b-dt13wa8l1g] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.items-table thead[b-dt13wa8l1g] {
    border-bottom: 2px solid #e1e4e8;
}

.items-table th[b-dt13wa8l1g] {
    padding: 0.5rem 0.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    color: #586069;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.items-table td[b-dt13wa8l1g] {
    padding: 0.5rem 0.5rem;
    border-bottom: 1px solid #f6f8fa;
    vertical-align: middle;
}

.col-description[b-dt13wa8l1g] {
    width: 40%;
}

.col-number[b-dt13wa8l1g] {
    width: 15%;
    text-align: right;
}

.col-amount[b-dt13wa8l1g] {
    width: 20%;
    text-align: right;
}

.col-action[b-dt13wa8l1g] {
    width: 10%;
    text-align: center;
}

.items-table th.col-number[b-dt13wa8l1g],
.items-table th.col-amount[b-dt13wa8l1g] {
    text-align: right;
    padding-right: 1rem;
}

.item-description[b-dt13wa8l1g] {
    width: 100%;
}

.item-number[b-dt13wa8l1g] {
    width: 100%;
}

.item-number[b-dt13wa8l1g]  input {
    text-align: right;
}

.item-amount[b-dt13wa8l1g] {
    font-weight: 500;
    font-size: 0.938rem;
    color: #24292e;
    text-align: right;
    padding-right: 1rem;
    white-space: nowrap;
}

.item-action[b-dt13wa8l1g] {
    text-align: center;
}

.remove-btn[b-dt13wa8l1g] {
    color: #d73a49;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.remove-btn:hover[b-dt13wa8l1g] {
    opacity: 1;
}

.add-item-btn[b-dt13wa8l1g] {
    color: #298fed;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0;
}

/* Invoice Totals */
.invoice-totals[b-dt13wa8l1g] {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e4e8;
}

.totals-section[b-dt13wa8l1g] {
    width: 100%;
    max-width: 480px;
}

.summary-row[b-dt13wa8l1g] {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 0.938rem;
    gap: 2rem;
}

.summary-label[b-dt13wa8l1g] {
    font-weight: 500;
    color: #586069;
}

.summary-value[b-dt13wa8l1g] {
    font-weight: 500;
    color: #24292e;
    text-align: right;
    min-width: 100px;
    justify-self: end;
}

/* Adjustment Rows */
.adjustment-row[b-dt13wa8l1g] {
    border-top: 1px solid #f6f8fa;
    padding: 0.875rem 0;
    grid-template-columns: 1fr auto;
}

.adjustment-inputs[b-dt13wa8l1g] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.reorder-buttons[b-dt13wa8l1g] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.reorder-buttons-spacer[b-dt13wa8l1g] {
    width: 24px;
    flex-shrink: 0;
}

.reorder-btn[b-dt13wa8l1g] {
    width: 24px;
    height: 14px;
    padding: 0;
    border: none;
    background: transparent;
    color: #586069;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s ease;
}

.reorder-btn:hover:not(:disabled)[b-dt13wa8l1g] {
    color: #298fed;
}

.reorder-btn:disabled[b-dt13wa8l1g] {
    color: #d1d5da;
    cursor: not-allowed;
}

.adjustment-type-select[b-dt13wa8l1g] {
    width: 80px;
    font-size: 0.813rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding: 0.375rem 0.25rem 0.375rem 0;
    border: none;
    border-bottom: 1px solid #e1e4e8;
    border-radius: 0;
    background: transparent;
    color: #24292e;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23586069' d='M6 9L2 5h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 16px;
    flex-shrink: 0;
}

.adjustment-type-select:focus[b-dt13wa8l1g] {
    border-bottom-color: #298fed;
}

.adjustment-type-select:hover[b-dt13wa8l1g] {
    border-bottom-color: #959da5;
}

.adjustment-name-input[b-dt13wa8l1g] {
    flex: 1;
    min-width: 80px;
}

.adjustment-name-input[b-dt13wa8l1g]  input {
    font-size: 0.875rem;
}

.adjustment-value-input[b-dt13wa8l1g] {
    width: 70px;
    flex-shrink: 0;
}

.adjustment-value-input[b-dt13wa8l1g]  input {
    text-align: right;
    font-size: 0.875rem;
}

.unit-toggle-label[b-dt13wa8l1g] {
    min-width: 20px;
    padding: 0 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #586069;
    cursor: pointer;
    text-align: center;
    flex-shrink: 0;
    user-select: none;
    transition: color 0.15s ease;
}

.unit-toggle-label:hover[b-dt13wa8l1g] {
    color: #298fed;
}

.adjustment-amount[b-dt13wa8l1g] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: flex-end;
}

.adjustment-amount .summary-value[b-dt13wa8l1g] {
    min-width: 100px;
    text-align: right;
    white-space: nowrap;
}

.remove-btn-inline[b-dt13wa8l1g] {
    color: #d73a49;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.remove-btn-inline:hover[b-dt13wa8l1g] {
    opacity: 1;
}

/* Add Buttons */
.add-buttons-row[b-dt13wa8l1g] {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    justify-content: flex-start;
}

.add-buttons-row.compact[b-dt13wa8l1g] {
    padding: 0.5rem 0;
}

.add-inline-btn[b-dt13wa8l1g] {
    color: #298fed;
    font-size: 0.813rem;
    font-weight: 500;
    padding: 0.375rem 0;
    transition: color 0.15s ease;
}

.add-inline-btn:hover[b-dt13wa8l1g] {
    color: #0366d6;
}

.add-inline-btn.compact[b-dt13wa8l1g] {
    font-size: 0.75rem;
    padding: 0.25rem 0;
}

/* Total Row */
.total-row[b-dt13wa8l1g] {
    border-top: 2px solid #24292e;
    margin-top: 0.5rem;
    padding-top: 1rem !important;
    font-size: 1.125rem;
    font-weight: 600;
}

.total-row .summary-label[b-dt13wa8l1g] {
    color: #24292e;
    font-size: 1.125rem;
}

.total-row .summary-value[b-dt13wa8l1g] {
    min-width: 100px;
}

.total-value[b-dt13wa8l1g] {
    color: #298fed;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Notes Section */
.invoice-notes-section[b-dt13wa8l1g] {
}

.notes-field[b-dt13wa8l1g] {
    width: 100%;
}

.notes-field[b-dt13wa8l1g]  textarea {
    font-size: 0.875rem;
    color: #586069;
    line-height: 1.6;
}

/* Print Styles */
@media print {
    @page {
        margin: 0.5cm;
        size: letter;
    }

    *[b-dt13wa8l1g] {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .toolbar[b-dt13wa8l1g] {
        display: none !important;
    }

    .invoice-generator[b-dt13wa8l1g] {
        padding: 0;
    }

    .invoice-container[b-dt13wa8l1g] {
        box-shadow: none;
        page-break-after: auto;
    }

    /* Hide all input styling - make fields look like text */
    [b-dt13wa8l1g] fluent-text-field::part(control),
    [b-dt13wa8l1g] fluent-text-area::part(control),
    [b-dt13wa8l1g] fluent-number-field::part(control),
    [b-dt13wa8l1g] fluent-date-picker::part(control) {
        border: none !important;
        border-bottom: none !important;
        background: transparent !important;
        padding: 0 !important;
    }

    [b-dt13wa8l1g] fluent-text-field::part(root),
    [b-dt13wa8l1g] fluent-text-area::part(root),
    [b-dt13wa8l1g] fluent-number-field::part(root),
    [b-dt13wa8l1g] fluent-date-picker::part(root) {
        border: none !important;
        background: transparent !important;
    }

    /* Hide placeholder text on print */
    [b-dt13wa8l1g] fluent-text-field::part(control)::placeholder,
    [b-dt13wa8l1g] fluent-text-area::part(control)::placeholder,
    [b-dt13wa8l1g] fluent-number-field::part(control)::placeholder {
        color: transparent !important;
        opacity: 0 !important;
    }

    /* Hide date picker icons */
    [b-dt13wa8l1g] fluent-date-picker::part(button) {
        display: none !important;
    }

    /* Prevent page breaks inside important sections */
    .invoice-header[b-dt13wa8l1g],
    .bill-to-section[b-dt13wa8l1g],
    .invoice-notes-section[b-dt13wa8l1g] {
        page-break-inside: avoid;
    }

    /* Allow page breaks in line items if needed */
    .items-table[b-dt13wa8l1g] {
        page-break-inside: auto;
    }

    .items-table tr[b-dt13wa8l1g] {
        page-break-inside: avoid;
        page-break-after: auto;
    }

    .items-table thead[b-dt13wa8l1g] {
        display: table-header-group;
    }

    /* Keep totals section together */
    .invoice-totals[b-dt13wa8l1g] {
        page-break-inside: avoid;
    }

    .reorder-buttons[b-dt13wa8l1g],
    .reorder-buttons-spacer[b-dt13wa8l1g],
    .remove-btn[b-dt13wa8l1g],
    .remove-btn-inline[b-dt13wa8l1g],
    .remove-logo[b-dt13wa8l1g],
    .add-item-btn[b-dt13wa8l1g],
    .add-inline-btn[b-dt13wa8l1g],
    .add-buttons-row[b-dt13wa8l1g] {
        display: none !important;
    }

    .logo-placeholder[b-dt13wa8l1g] {
        border-style: solid;
    }

    /* Hide empty placeholder text areas */
    .company-address[b-dt13wa8l1g]  textarea:placeholder-shown,
    .client-address[b-dt13wa8l1g]  textarea:placeholder-shown,
    .notes-field[b-dt13wa8l1g]  textarea:placeholder-shown {
        opacity: 0;
    }
}

