    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

    form {
        font-family: 'Poppins', sans-serif;
        max-width: 850px;
        margin: 20px auto;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.1);
        padding: 40px 50px;
        color: #222;
    }

    h1, h3 {
        font-weight: 600;
        color: #2c3e50;
    }

    h1 {
        font-size: 2.2rem;
    }

    h3 {
        margin-top: 40px;
        margin-bottom: 20px;
        border-bottom: 2px solid #eaeaea;
        padding-bottom: 8px;
    }

    /* Encabezado de la factura */
    form > div.text-center {
        text-align: center;
        margin-bottom: 40px;
    }

    /* Datos básicos */
    form div > strong {
        color: #34495e;
        display: inline-block;
        width: 160px;
        font-weight: 600;
    }

    input[type="text"],
    input[type="email"],
    select,
    textarea {
        width: 100%;
        padding: 8px 12px;
        margin-top: 6px;
        margin-bottom: 14px;
        border: 1.5px solid #d1d5db;
        border-radius: 8px;
        font-size: 1rem;
        color: #333;
        transition: border-color 0.3s ease;
    }

    input[type="text"]:focus,
    input[type="email"]:focus,
    select:focus,
    textarea:focus {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 4px rgba(59,130,246,0.5);
    }

    textarea {
        resize: vertical;
    }

    /* Tabla productos y pagos */
    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 30px;
    }

    thead tr {
        background-color: #f5f7fa;
        border-bottom: 2px solid #e2e8f0;
    }

    thead th {
        padding: 12px 10px;
        text-align: left;
        color: #4b5563;
        font-weight: 600;
        font-size: 0.95rem;
        border-bottom: 2px solid #e2e8f0;
    }

    tbody tr {
        border-bottom: 1px solid #e2e8f0;
        transition: background-color 0.15s ease;
    }

    tbody tr:hover {
        background-color: #f9fafb;
    }

    tbody td {
        padding: 12px 10px;
        color: #374151;
        font-size: 0.95rem;
    }

    /* Botones */
    .boton-fc {
        background-color: #03012d;
        color: white;
        border: none;
        padding: 12px 22px;
        border-radius: 16px;
        cursor: pointer;
        font-weight: 600;
        font-size: 1rem;
        transition: background-color 0.3s ease;
        text-decoration: none;
        display: inline-block;
        margin-top: 12px;
    }

    

    /* Botón eliminar pagos */
    tbody td button {
        background-color: transparent;
        color: #ef4444;
        padding: 6px 10px;
        font-size: 1.2rem;
        border-radius: 6px;
    }

    tbody td button:hover {
        background-color: #fee2e2;
    }

    /* Resumen total */
    div.text-right p {
        font-size: 1.1rem;
        margin: 4px 0;
    }

    div.text-right p strong {
        color: #111827;
    }

    div.text-right p:last-child {
        font-size: 1.4rem;
        color: #111827;
        font-weight: 700;
    }

    /* Observaciones y comprobante */
    strong {
        color: #4b5563;
    }

    /* Imágenes comprobantes */
    img {
        /*box-shadow: 0 3px 8px rgba(0,0,0,0.1);*/
    }

.botones {
	margin-top: 20px;
    gap: 10px;
    display: flex;
    justify-content: flex-end;
}
