/* Billflux Invoice Generator Styles - Minimal Golden Theme */

body #billflux-form {
    max-width: 800px;
    margin: 20px auto;
    font-family: 'Arial', sans-serif;
    background: #fff9f0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#billflux-form h2, #billflux-form h3 {
    color: #b8860b; /* golden accent */
    margin-bottom: 10px;
}

#billflux-form label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
    color: #333;
}

#billflux-form input[type="text"],
#billflux-form input[type="number"],
#billflux-form input[type="email"],
#billflux-form input[type="date"],
#billflux-form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 4px;
    box-sizing: border-box;
}

#billflux-form table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

#billflux-form table th {
    background-color: #b8860b;
    color: #fff;
    padding: 8px;
    text-align: left;
}

#billflux-form table td {
    padding: 6px;
    text-align: left;
}

#billflux-form button {
    background-color: #b8860b;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

#billflux-form button:hover {
    background-color: #a97508;
}

/* Invoice Preview Styling */
.billflux-invoice {
    max-width: 800px;
    margin: 20px auto;
    font-family: 'Arial', sans-serif;
    background: #fff9f0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #333;
}

.billflux-invoice h2, .billflux-invoice h3 {
    color: #b8860b;
}

.billflux-invoice table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.billflux-invoice table th {
    background-color: #b8860b;
    color: #fff;
    padding: 8px;
    text-align: left;
}

.billflux-invoice table td {
    padding: 6px;
    text-align: left;
}

.billflux-invoice button {
    background-color: #b8860b;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
}

.billflux-invoice button:hover {
    background-color: #a97508;
}

.billflux-header img {
    display: block;
    margin: 0 auto 15px auto;
}

.billflux-footer {
    font-family: 'Arial', sans-serif;
    color: #b8860b;
    margin-top: 25px;
}

/* Mobile-safe table handling */
.billflux-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.billflux-invoice table {
    min-width: 700px; /* prevents column squashing */
}

/* Optional: smoother mobile look */
@media (max-width: 768px) {
    .billflux-invoice {
        padding: 15px;
    }

    .billflux-invoice table th,
    .billflux-invoice table td {
        font-size: 14px;
        white-space: nowrap;
    }
}


