.anti-gravity-document-container {
    padding: 2rem;
    background: #f8fafc;
    display: flex;
    justify-content: center;
}

.finance-card {
    position: relative;
    width: 800px;
    background: #fff;
    padding: 3rem;
    border-radius: 24px;
    overflow: hidden;
}

.premium-shadow {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.document-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.company-branding {
    display: flex;
    gap: 1.5rem;
}

.brand-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.brand-placeholder {
    width: 64px;
    height: 64px;
    background: #4f46e5;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 2rem;
    font-weight: 900;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.company-name {
    font-size: 1.25rem;
    font-weight: 900;
    color: #1e293b;
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: -0.025em;
}

.detail-text {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
}

.tax-id {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    margin-top: 4px;
}

.document-type {
    font-size: 2.5rem;
    font-weight: 950;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.05em;
    line-height: 1;
}

.meta-grid {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    justify-content: flex-end;
}

.meta-item {
    text-align: right;
}

.meta-item .label {
    display: block;
    font-size: 0.625rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.meta-item .value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1e293b;
}

.billing-section {
    margin-bottom: 3rem;
}

.billing-box {
    max-width: 300px;
}

.section-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.client-name {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.items-table-container {
    margin-bottom: 3rem;
}

.items-table {
    width: 100%;
    border-collapse: collapse;
}

.items-table th {
    font-size: 0.625rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 0;
    border-bottom: 2px solid #0f172a;
}

.item-row td {
    padding: 1.25rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.875rem;
    color: #334155;
}

.item-row:last-child td {
    border-bottom: none;
}

.document-summary {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.notes-box {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 16px;
}

.notes-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.notes-text {
    font-size: 0.75rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

.totals-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.summary-row .label {
    color: #64748b;
    font-weight: 600;
}

.summary-row .value {
    color: #1e293b;
    font-weight: 700;
}

.grand-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #f1f5f9;
}

.grand-total-row .label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1e293b;
}

.grand-total-row .value {
    font-size: 1.5rem;
    font-weight: 950;
    color: #4f46e5;
}

.document-footer {
    margin-top: 5rem;
    text-align: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 2rem;
}

.thank-you {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.company-footer-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-link {
    font-size: 0.75rem;
    color: #4f46e5;
    font-weight: 600;
}

.footer-copyright {
    font-size: 0.625rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Tailwind-ish utility classes for the React component */
.bg-gradient-to-r {
    background-size: cover;
}

.from-blue-600 {
    background-color: #2563eb;
}

.to-indigo-600 {
    background-image: linear-gradient(to right, #2563eb, #4f46e5);
}

.text-blue-600 {
    color: #2563eb;
}

.font-bold {
    font-weight: 700;
}