﻿.container {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

h1{
    margin-bottom: 20px;
}

.card {
    background-color: #282b2d6d;
    border: none;
    text-align: center;
    border-radius: 35px;
    box-shadow: none;
}

.card-header {
    background-color: transparent;
    border-bottom: none;
}

.card-body {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 35px;
    color: #F7F0E2;
    padding-top: 0;
    border: none;
}

.card-body form .col-10 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.card-body form .col-2 {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.row{
    border: none;
}

.card-body .form__field {
    flex: 1 1 0;
    height: 40px;
}


@media (max-width: 1420px) {
    .card-body form .col-10 {
        flex-direction: column;
        align-items: stretch;
    }

    .card-body .form__field {
        max-width: 100%;
    }

    .card-body form .col-2 {
        flex-direction: column;
        justify-content: center;
    }
}

/* Alertas */
.alert {
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
}

/* Badges */
.badge {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}




/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estados de carga */
.swal2-popup {
    border-radius: 12px !important;
}


#modalCrearCliente .modal-dialog {
    max-width: clamp(70vw, 800px, 80vw);
    /* ancho responsive y centrado */
    margin: 0 auto;
    margin-top: 1%;
}

#modalEditarCliente .modal-dialog {
    max-width: clamp(70vw, 800px, 80vw);
    /* ancho responsive y centrado */
    width: auto;
    margin: 0 auto;
    margin-top: 1%;
}



#clientesTable {
    width: 100%;
    background-image: linear-gradient(45deg, #282b2d8e, #282b2ddf);
}


#clientesTable th, #clientesTable td {
    border: 1px solid #ddd;
    text-align: center;
    vertical-align: middle;
}

#clientesTable th {
     background-image: linear-gradient(4deg, #e5e5e51b, #73020bcc);
    color: #f7f0e298;
    color: #F7F0E2;
}

#clientesTable td {
    color: #F7F0E2;
    padding: 0;
}

#clientesTable th {
    background-image: linear-gradient(4deg, #e5e5e51b, #73020bcc);
    color: #f7f0e298;
}

#clientesTable tr:hover {
    color: #F7F0E2;
    background-color: #1c1e20;
    padding: 0;
    font-weight: bold;
}

#clientesTable .accionesColumn {
    padding: 10px;
}



#clientesTable  .pad {
    min-width: 50px;
}


#clientesTable .padd{
    max-width: 100px;
}

#clientesTable .paddd{
    padding: 0;
}


.validation-summary-errors {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #721c24;
}

.validation-summary-errors ul {
    margin: 0;
    padding-left: 1rem;
}

/* Estilos minimalistas para cuenta de cliente */
#modalCuentaCliente .modal-dialog {
    max-width: clamp(70vw, 800px, 90vw);
}
/* Estilos para el detalle */

#modalCuentaCliente .modal-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    padding: 0;
    padding-top: 10px;
}

#modalCuentaCliente .cuenta-saldo {
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
}

.cuenta-body{
    text-align: center;
}

#modalCuentaCliente .modal-body {
    background-color: #282b2d48;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #F7F0E2;
}

#modalCuentaCliente  h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #F7F0E2;
}

#modalCuentaCliente .tabla-transacciones, #table-productos .table-detalle {
    width: 100%;
    background-color: #F7F0E2;
    color: #282b2d;
}

#modalCuentaCliente  .tabla-transacciones th,
#modalCuentaCliente  .tabla-transacciones td {
    border: 1px solid #ddd;
    text-align: center;
    vertical-align: middle;
    padding: 5.5px;
}
#modalCuentaCliente  .tabla-transacciones th {
    background-image: linear-gradient(45deg, #e5e5e571, #73020bcc);
    color: #f7f0e2be;
}

#modalCuentaCliente .btn-danger {
    background-color: #73020bcc;
    color: #f7f0e298;
    border: none;
    margin-top: 20px;
    width: 100%;
    align-items: center;
    vertical-align: middle;
}

.total-amount {
    font-weight: 600;
    color: #064b8f;
}

.no-data {
    text-align: center;
    color: #810808;
    padding: 2rem 0;
}

.table-secondary {
    background-color: #f7ece2;
}


/* Media queries existentes */
@media (max-width: 768px) {


    #filterForm {
        gap: 8px;
    }

    .form-control {
        width: 100%;
    }

    .btn-filter {
        width: 50%;
        flex-grow: 1;
    }
}

@media (max-width: 1340px) {


    .form-control {
        max-width: 100%;
    }
}

:root {
    /* Azules */
    --blue-900: #0B2B4C;
    --blue-700: #1B4C80;
    --blue-600: #255E99;
    --blue-500: #2E71B3;
    --blue-100: #E9F2FB;

    /* Neutros */
    --gray-900: #0F1115;
    --gray-700: #2B2F36;
    --gray-500: #6B7280;
    --gray-300: #D1D5DB;
    --gray-100: #F3F4F6;
    --white: #FFFFFF;

    /* Tipografía y UI */
    --font-sans: ui-sans-serif, system-ui, "Segoe UI", Roboto, Arial;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
}