.login-img
{
    width: 90%;
    margin-top: 100px;
    margin-bottom: 20px;
}

.login-img-modal
{
    width: 80%;
    height: auto;
    margin-top: 5px;
    margin-bottom: 10px;
}
.login-img-registro
{
    width: 250px;
    height: auto;
    margin-top: 5px;
    margin-bottom: 10px;
}
.login-nube
{
    margin-top: 50px;
    border: 1px #e0e0e0 solid;
    border-radius: 10px;
    -webkit-box-shadow: 0px 10px 10px 0px rgba(156,156,156,1);
    -moz-box-shadow: 0px 10px 10px 0px rgba(156,156,156,1);
    box-shadow: 0px 10px 10px 0px rgba(156,156,156,1);
    padding: 30px;
    background-color: white;
}

.panel-primary > .panel-heading {
    color: #fff;
    background-color: #005e90 !important;
    border-color: #0C82EB;
}

.menu-logo
{
    height: 50px;
}
.menu-barra
{
    height: 80px !important;
}
.menu-barra-cel
{
    height: 70px !important;
}
.menu-link
{
    cursor: pointer;
}
.miga-link
{
    cursor: pointer;
}
.miga-link:hover
{
    text-decoration: underline;
}
.menu-link-opcion
{
    cursor: pointer;
    font-size: 15px;
    border-radius: 5px
}
.menu-link-opcion:hover
{
    background-color: #D6D6D6 !important; 
}

.registro-nube
{
    margin-top: 10px;
    border: 1px #E6E6E6 solid;
    border-radius: 10px;
    
    -webkit-box-shadow: 0px 5px 10px 0px rgba(230,230,230,1);
    -moz-box-shadow: 0px 5px 10px 0px rgba(230,230,230,1);
    box-shadow: 0px 5px 10px 0px rgba(230,230,230,1);

    padding: 40px !important;
    background-color: white;
}
.registro-div-center
{
    margin-left: 20px;
    margin-right: 20px;
}

.registro-form
{
    padding: 5px;
}
.registro-campo
{
    margin-top: 10px;
}


.proceso-card
{
    padding: 10px !important;
    padding-left: 30px;
    min-height: 240px;
}
.cotiza-boton
{
    padding: 15px;
}
.tabla-requi
{
    font-size: 11px;
}
th
{
    background: #005e90 !important;
    color: #fff !important;
    text-align: center !important;
}
.tabla-link
{
    cursor: pointer;
    font-size: 13px;
}
.detalle-proceso
{
    font-size: 14px;
    line-height: 1.5;
}
.link-masivo
{
    cursor: pointer;
    font-size: 15px;
}
.btn-elimina-masivo
{
    cursor: pointer;
    font-size: 18px;
    margin-left: 8px;
    margin-right: 8px;
}
.link-registro
{
    margin-right: 20px;
}
.filtro-card
{
    padding: 20px !important;    
    min-height: 140px;
}
.icon-grilla
{
    font-size: 18px;
}
.link-portal
{
    font-size: 22px;
}

/*---quitar incrementar/decremtenar de los input number---*/
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    }
input[type=number] { -moz-appearance:textfield; }

.grillaCellReport
{
    vertical-align: middle !important;
}

.botones {
  font-size: 14px;
  font-weight: 500;
  background: #0C82EB;
  border: none;
  transition: all 0.25s ease-in-out;
}

.botones:hover {
  transform: scale(1.02);
  background: #fff; /* azul un poco más oscuro para hover */
  color: #0C82EB;
  opacity: 0.95;
}

/*Styles modernos formulario*/

.form-control:focus,
textarea:focus,
input:focus,
input[type]:focus {
    border-color: rgb(255, 0, 0);
    box-shadow: 0 2px 2px rgba(229, 0, 0, 0.075)inset, 0 0 8px rgba(255, 0, 0, 0.6);
    outline: 0 none;
}

.chosen-container-active .chosen-single {
    border-color: rgb(255, 0, 0);
    box-shadow: 0 2px 2px rgba(229, 0, 0, 0.075)inset, 0 0 8px rgba(255, 0, 0, 0.6);
}

/* Modern Info Cards */
.info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(255, 0, 0, 0.08);
    /* Fixed shadow color based on original or default? Original was rgba(0,0,0,0.08) */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 20px;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #005e90;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.info-card-body {
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    padding: 10px 0;
}

/* Botones corporativos */
.btn-primary {
    background-color: #005e90 !important;
    border-color: #005e90 !important;
    color: white !important;
}


.dashboard-container {
    min-height: 100vh;
    padding: 10px;
    font-family: 'Inter', sans-serif;
}

.modern-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
}

.card-header-gradient {
    background: #005e90;
    padding: 8px 15px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px 12px 0px 0px;
}

.card-body-modern {
    padding: 32px;
}

.bg-blue-breadcrumb {
    background-color: #005e90;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.modern-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    text-align: left;
}

.text-red {
    color: #dc2626;
}

.modern-select {
    width: 100%;
    padding: 8px 15px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    background-color: white;
    color: #111827;
    font-size: 15px;
    transition: all 0.2s;
    height: 40px;
}

.modern-select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.btn-modern-submit {
    background: #005e90;
    color: white;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 8px;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
}

.btn-modern-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background: #004670;
}

.alert-modern {
    padding: 20px;
    border-radius: 8px;
    border-left-width: 4px;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
}

.alert-blue {
    background-color: #eff6ff;
    border-left: 5px solid #3b82f6;
}

.alert-amber {
    background-color: #fffbeb;
    border-left: 5px solid #f59e0b;
}

.alert-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
    font-size: 15px;
    display: block;
}

.alert-content {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

/* Tabla Moderna */
.table-modern-wrapper {
    overflow-x: auto;
}

.table-modern {
    width: 100%;
    border-collapse: collapse;
}

.table-modern th {
    background-color: #f3f4f6;
    color: #374151;
    font-weight: 600;
    text-align: left;
    padding: 8px 15px;
    border-bottom: 2px solid #d1d5db;
    font-size: 14px;
}

.table-modern td {
    padding: 8px 15px;
    border-bottom: 1px solid #e5e7eb;
    color: #111827;
    font-size: 14px;
    vertical-align: middle;
}

.table-modern tr:hover td {
    background-color: #eff6ff;
}

.badge {
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
}

.badge-blue {
    background-color: #dbeafe;
    color: #1e40af;
}

.badge-purple {
    background-color: #f3e8ff;
    color: #6b21a8;
}

.badge-amber {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-green {
    background-color: #d1fae5;
    color: #065f46;
}

.badge-red {
    background-color: #fee2e2;
    color: #991b1b;
}

.badge-gray {
    background-color: #f3f4f6;
    color: #374151;
}

.action-btn {
    padding: 6px;
    border-radius: 6px;
    transition: background-color 0.2s;
    border: none;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.action-btn.view {
    color: #2563eb;
}

.action-btn.view:hover {
    background-color: #dbeafe;
}

.action-btn.delete {
    color: #dc2626;
}

.action-btn.delete:hover {
    background-color: #fee2e2;
}

/* Layout Spacing */
.grid-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: end;
}

.grid-form > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .grid-form {
        grid-template-columns: 1fr;
    }
}

/* Checkbox de Aceptación Moderno */
.acceptance-box {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 15px 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.acceptance-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #005e90 0%, #0ea5e9 100%);
}

.acceptance-box:hover {
    border-color: #005e90;
    box-shadow: 0 4px 12px rgba(0, 94, 144, 0.15);
    transform: translateY(-2px);
}

.acceptance-box.required {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fcd34d;
}

.acceptance-box.required::before {
    background: linear-gradient(180deg, #fbbf24 0%, #fcd34d 100%);
}

.acceptance-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
}

.acceptance-checkbox input[type="checkbox"] {
    width: 24px;
    height: 24px;
    min-width: 24px;
    cursor: pointer;
    accent-color: #005e90;
    margin-top: 2px;
}

.acceptance-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.7;
    color: #1f2937;
    text-align: justify;
}

.acceptance-text strong {
    color: #005e90;
    font-weight: 700;
}

.acceptance-icon {
    font-size: 20px;
    color: #005e90;
    margin-right: 4px;
}

.acceptance-box.required .acceptance-icon {
    color: #f59e0b;
}

/* ===== FIN ESTILOS MODERNOS ===== */

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #004670 !important;
    border-color: #004670 !important;
    color: white !important;
}

/* ==========================================================================
    Responsive Table Styles (Previously at Line 3417)
    ========================================================================== */
@media (max-width: 768px) {

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
        width: 100%;
    }

    thead {
        display: none;
        /* Ocultar los encabezados en móviles */
    }

    tr {
        border: 1px solid #ccc;
        margin-bottom: 15px;
        background: #fff;
        padding: 10px;
        border-radius: 5px;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    }

    td {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border-bottom: 1px solid #ddd;
        font-size: 14px;
    }

    td:last-child {
        border-bottom: none;
    }

    td::before {
        content: attr(data-label);
        /* Usar el atributo data-label como encabezado */
        font-weight: bold;
        text-transform: uppercase;
        color: #333;
        flex: 1;
        max-width: 40%;
    }

    td input[type="file"] {
        width: 100%;
    }

    td i {
        font-size: 20px;
        /* Asegurar que el ícono no se vea demasiado grande */
    }

    .grillaCellReport {
        white-space: normal !important;
    }
}

/* ==========================================================================
    Document Upload Styles (Previously at Line 3503)
    ========================================================================== */
.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1rem;
    color: #333;
}

.modern-table thead th {
    background-color: #f8f9fa !important;
    color: #495057 !important;
    font-weight: 600;
    padding: 15px;
    border-bottom: 2px solid #dee2e6 !important;
    border-top: none !important;
    border-left: none;
    border-right: none;
}

.modern-table tbody td {
    padding: 15px;
    border-bottom: 1px solid #dee2e6 !important;
    border-top: none !important;
    vertical-align: middle !important;
}

.modern-table th.grillaHeader {
    background: transparent;
    border: none;
}

.btn-file-modern {
    display: inline-block;
    cursor: pointer;
    background-color: #005e90;
    color: white !important;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 500;
    transition: 0.3s;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #0d6efd;
    margin-bottom: 0;
}

.btn-file-modern:hover {
    background-color: #005e90;
    border-color: #005e9045;
    color: white !important;
}

.badge-validable {
    display: inline-block;
    background-color: #17a2b8;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 4px;
    white-space: nowrap;
}

.alert-modern {
    background-color: #fff8e1;
    border-left: 5px solid #ffc107;
    padding: 15px;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: start;
    border-radius: 4px;
}

.alert-modern i {
    font-size: 1.25em;
    margin-right: 15px;
    color: #eebb00;
    margin-top: 2px;
}

.file-status {
    display: block;
    font-size: 0.8em;
    color: #6c757d;
    margin-top: 5px;
}