﻿.pago-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;    
}

.pago-header {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 1rem;
    align-items: start;
}

.cliente-card {
    width: 100%;
}

.cliente-detalle-card {
    display: flex;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Contenido inferior con dos columnas */
.pago-contenido {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 1rem;
    align-items: start;
}

.pago-izquierda {
    width: 100%;
}


/* Asegura que PagoForm quede fijo si hay scroll */
.pago-derecha {
    position: sticky;
    top: 1rem;    
}


/* Espaciado entre tarjetas */
.pago-header-card {
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Estilo general del card principal */
.pago-main-card {
    padding: 20px;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Checkbox + inputs alineados */
.pago-metodos label {
    font-weight: 500;
    margin-bottom: 0;
}

/* Alinear inputs de monto y método de pago */
.pago-metodos input[type="text"],
.pago-metodos select {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
}

.summary-table {
    width: 100%;
    margin: 5px 0;
    border: none;
    padding: 0.25rem 0.4rem;
    border-collapse: collapse;
}

    .summary-table td {
        padding-right: 2px;
        padding-left: 2px;
        text-align: left;
        white-space: nowrap;
        border: none;
        border-bottom: 1px solid #e0e0e0;
    }

.textFormaPagoHeder {
    font-family: "CustomFont", Helvetica;
    font-weight: 700;
    color: rgba(33, 33, 33, 1);
    font-size: 18px;
    letter-spacing: 0;
    line-height: 24px;
}

.textFormasPago {
    font-family: "CustomFont", Helvetica;
    font-weight: 700;
    color: rgba(33, 33, 33, 1);
    font-size: 22px;
    letter-spacing: 0;
    line-height: 24px;
}

.textTotal {
    font-family: "CustomFont", Helvetica;
    font-weight: 700;
    color: rgba(33, 33, 33, 1);
    font-size: 22px;
    letter-spacing: 0;
    line-height: 24px;
}

.total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    background-color: #f8f9fc; /* Light gray background */
    padding: 10px;
    border-radius: 5px;
}

.pay-button {
    background-color: #1d1b7d; /* Blue button */
    color: white;
    width: 100%;
    padding: 15px 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    font-family: "CustomFont", Helvetica;
    font-weight: 400;
}

    .pay-button:hover {
        background-color: #0056b3;
    }


.button-addline {
    background-color: white;
    color: rgba(96, 93, 236, 1);
    border-color: rgba(96, 93, 236, 1);
    border-style: solid;
    border-right-width: 3px;
    border-left-width: 3px;
    border-top-width: 3px;
    border-bottom-width: 3px;
    width: 80px;
    padding: 8px 10px;
    cursor: pointer;
    font-family: "CustomFont", Helvetica;
}

.button-image {
    width: 24px;
    height: 24px;
    margin-top: -12px;
    margin-bottom: -12px;
}

.button-imageaddline {
    width: 16px;
    height: 16px;
    margin-top: -1px;
    margin-bottom: -1px;
}

.button-label {
    width: fit-content;
    font-family: "CustomFont", Helvetica;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    font-size: 20px;
    text-align: center;
    letter-spacing: 0px;
    line-height: 24px;
    white-space: nowrap;
    font-style: normal;
}

.button-labeladdline {
    width: fit-content;
    font-family: "CustomFont", Helvetica;
    font-weight: 400;
    color: rgba(96, 93, 236, 1);
    font-size: 14px;
    text-align: center;
    letter-spacing: 0px;
    line-height: 16px;
    white-space: nowrap;
    font-style: normal;
}

.button-pagar {
    background-color: #1d1b7d; /* Blue button */
    color: white;
    width: 100%;
    padding: 15px 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    font-family: "CustomFont", Helvetica;
    font-weight: 400;
}

.button-pagando {
    background-color: #343a40;
    color: white;
    width: 100%;
    padding: 15px 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    font-family: "CustomFont", Helvetica;
    font-weight: 400;
}

.pago-alerta {
    font-size: 0.85rem;
    color: #856404;
    background-color: #fff3cd;
    padding: 0.5rem;
    border-left: 5px solid #ffc107;
    border-radius: 4px;
}

.input-delgado {
    border: 1px solid #ccc;
    padding: 4px 6px;
    font-size: 0.8rem;
    border-radius: 4px;    
    box-sizing: border-box;
}

.etiqueta {
    display: inline-block;
    font-size: 0.9rem;
    width: 100px; 
}

.info-fac {
    font-size: 0.8rem;
}

    .info-fac strong {
        color: #1d1b7d; 
    }