.invoice-generator-section {
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    background:
        radial-gradient(
            circle at top right,
            rgba(153, 255, 0, 0.05),
            transparent
        ),
        radial-gradient(
            circle at bottom left,
            rgba(153, 255, 0, 0.05),
            transparent
        );
}

.invoice-paper {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
    background-color: #0c0c0c !important;
    color: white !important;
}

.table {
    --bs-table-bg: transparent !important;
    --bs-table-color: white !important;
    --bs-table-border-color: rgba(255, 255, 255, 0.1) !important;
}

.invoice-container {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: transparent !important;
}

.logo-upload {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.2);
}

.logo-upload:hover {
    background-color: rgba(153, 255, 0, 0.05);
    border-color: #99ff00 !important;
}

.form-control-plaintext:focus {
    outline: none;
    background-color: rgba(153, 255, 0, 0.05);
    border-radius: 4px;
    padding-left: 10px !important;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(153, 255, 0, 0.1);
    border-color: #99ff00;
}

.w-60 {
    width: 60%;
}

.btn-primary {
    background-color: #99ff00;
    border-color: #99ff00;
    color: #000;
}

.btn-primary:hover {
    background-color: #88ee00;
    border-color: #88ee00;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(153, 255, 0, 0.3);
}

.btn-outline-primary {
    border-color: #99ff00;
    color: #99ff00;
}

.btn-outline-primary:hover {
    background-color: #99ff00;
    color: #000;
}

.bg-brand {
    background-color: #99ff00 !important;
}

.text-brand {
    color: #99ff00 !important;
}

.table,
.table tbody,
.table tr,
.table td {
    background-color: transparent !important;
    color: white !important;
}

.item-row textarea,
.item-row input,
.item-row .form-control {
    background-color: transparent !important;
    color: white !important;
    border: none !important;
}

/* Prevent white background on autofill/extension interference */
.item-row textarea:-webkit-autofill,
.item-row input:-webkit-autofill {
    -webkit-text-fill-color: white !important;
    -webkit-box-shadow: 0 0 0px 1000px #0c0c0c inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.table thead th {
    vertical-align: middle;
    border: none;
}

.text-primary {
    color: #99ff00 !important;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(0.8) sepia(1) saturate(100) hue-rotate(45deg);
}

.hover-scale:hover {
    transform: scale(1.02);
}
