@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.pointer{cursor:pointer;}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    /* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(2px);
}

.loading-content {
    background-color: white;
    padding: 40px 50px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #024731;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-content img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.loading-content p {
    margin: 0;
    font-size: 16px;
    color: #024731;
    font-weight: 600;
}

#blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ----------------------------------------------------------
    FORMULARIO SOLICITUD RECOGIDA MATERIAL (GLOBAL)
------------------------------------------------------------ */
/* Utilidades */
.fw-bold { font-weight: bold; }
.mt-20 { margin-top: 20px; }
.mb-15 { margin-bottom: 15px; }
.my-20 { margin: 20px 0; }
.my-30 { margin: 30px 0; }
.w-90px { width: 90px; }
.d-inline { display: inline; }
.text-ticket-success { color: #00ff00; }
.text-ticket-danger { color: #ff0000; }
.textarea-large { height: 200px !important; resize: none; }
.doc-title { color: #024731; font-size: 16px; margin-bottom: 15px; font-weight: bold; }
.container-envio {
    max-width: 1400px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 40px;
}

.container-envio h1 {
    color: #024731;
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: bold;
}

.container-envio h1.page-title {
    color: #024731;
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: bold;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.form-section {
    border: 2px solid #D5D6D2;
    border-radius: 8px;
    padding: 30px;
    background-color: #ffffff;
}

.form-section h2 {
    color: #024731;
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #FFB612;
    text-align: center;
}

.form-section h2.fw-bold {
    font-weight: bold;
}

.form-group label {
    display: block;
    color: #024731;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group select, .form-group-custom select,
.form-group select.form-control, .form-group-custom select.form-control {
    width: 100%;
    padding: 16px 40px 16px 14px;
    border: 1px solid #D5D6D2;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.8;
    min-height: 52px;
    height: auto;
    transition: border-color 0.3s;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    overflow: visible;
    vertical-align: middle;
}

/* Estilo global para todos los select con clase form-control */
select.form-control {
    padding: 16px 40px 16px 14px !important;
    line-height: 1.8 !important;
    min-height: 52px !important;
    height: auto !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px !important;
    overflow: visible !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

label .required {
    color: #FFB612;
    font-weight: bold;
}

.form-group-custom { margin-bottom: 20px; }
.form-group-custom label {
    display: block;
    color: #024731;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.file-upload-section {
    background-color: #fff9e6;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #FFB612;
}

.file-upload-section input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 2px dashed #FFB612;
    border-radius: 4px;
    cursor: pointer;
}

/* Estilos para la tabla de bultos */
.bultos-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    margin-bottom: 20px;
}

.bultos-table th {
    background-color: #024731;
    color: white;
    padding: 10px 5px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

.bultos-table td {
    padding: 8px 5px;
    border: 1px solid #D5D6D2;
    text-align: center;
}

.bultos-table input[type="number"] {
    width: 100%;
    padding: 10px 8px;
    border: 1px solid #D5D6D2;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.8;
    min-height: 40px;
    height: auto;
    box-sizing: border-box;
    overflow: visible;
    vertical-align: middle;
}

.bultos-table select,
.bultos-table select.form-control {
    width: 100%;
    padding: 10px 28px 10px 8px;
    border: 1px solid #D5D6D2;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.8;
    min-height: 40px;
    height: auto;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 10px;
    overflow: visible;
    vertical-align: middle;
}


.bultos-table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.bultos-table .volumen-cell {
    background-color: #f0f0f0;
    font-weight: 600;
    color: #024731;
}

.btn-add-bulto {
    background-color: #C8E59A;
    color: #024731;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.btn-add-bulto:hover { background-color: #b8d589; }

.btn-remove-bulto {
    background-color: #ff4444;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-remove-bulto:hover { background-color: #cc0000; }

.bultos-summary {
    margin-top: 15px;
    padding: 12px 18px;
    background-color: #f0f4f1;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    gap: 24px;
    font-weight: 600;
    color: #024731;
}

.bultos-summary span { white-space: nowrap; }

.comentarios-section { margin-top: 20px; }
.submit-section { text-align: center; margin-top: 30px; }

.btn-submit {
    background-color: #024731;
    color: white;
    padding: 15px 50px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover { background-color: #FFB612; color: #024731; }

.btn-submit:disabled {
    background-color: #D5D6D2;
    color: #666;
    cursor: not-allowed;
}

.btn-submit:disabled:hover {
    background-color: #D5D6D2;
    color: #666;
}

/* Estilos para botón volver */
.btn-volver {
    background-color: #666;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 20px;
}

.btn-volver:hover {
    background-color: #555;
}

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

@media (max-width: 768px) {
    .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
    .container-envio { padding: 20px; }
    .bultos-table { font-size: 11px; }
    .bultos-summary { flex-direction: column; gap: 10px; }
}

/* Estilos específicos para FormularioSolicitudEntrega */
.form-grid-single {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.comentarios-section textarea {
    min-height: 100px;
    resize: vertical;
}

/* Estilos para tablas de listado */
.listado-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    margin-bottom: 20px;
}

.listado-table th {
    background-color: #024731;
    color: white;
    padding: 12px 8px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #024731;
}

.listado-table td {
    padding: 10px 8px;
    border: 1px solid #D5D6D2;
    background-color: #fff;
}

.listado-table tr:nth-child(even) td {
    background-color: #f9f9f9;
}

.listado-table tr:hover td {
    background-color: #f0f4f1;
}

/* Estilos para columnas de botones - centrado */
.listado-table th:first-child,
.listado-table td:first-child {
    text-align: center;
    width: 100px;
    min-width: 100px;
}

.listado-table th:last-child,
.listado-table td:last-child {
    text-align: center;
    width: 120px;
    min-width: 120px;
}

/* Estilos para columna de acciones (creado) - centrado */
.listado-table th:nth-last-child(2),
.listado-table td:nth-last-child(2) {
    text-align: center;
    width: 140px;
    min-width: 140px;
}

/* Uniformar anchos de columnas */
.listado-table th:nth-child(2),
.listado-table td:nth-child(2) {
    width: 15%;
    min-width: 150px;
}

.listado-table th:nth-child(3),
.listado-table td:nth-child(3) {
    width: 10%;
    min-width: 100px;
}

.listado-table th:nth-child(4),
.listado-table td:nth-child(4) {
    width: 35%;
    min-width: 300px;
}

.listado-table th:nth-child(5),
.listado-table td:nth-child(5) {
    width: 12%;
    min-width: 120px;
}

.listado-table th:nth-child(6),
.listado-table td:nth-child(6) {
    width: 15%;
    min-width: 150px;
}

/* Centrar botones dentro de las celdas */
.listado-table td:first-child,
.listado-table td:last-child,
.listado-table td:nth-last-child(2) {
    vertical-align: middle;
}

.listado-table td:first-child .btn-remove,
.listado-table td:last-child .btn-action {
    margin: 0 auto;
    display: inline-block;
}

/* Centrar contenido de la columna "Creado" */
.listado-table td:nth-last-child(2) {
    text-align: center;
}

.listado-table td:nth-last-child(2) strong {
    display: inline-block;
}

/* Estilos para el resumen en las tablas */
.listado-resumen {
    font-size: 12px;
}

.listado-resumen-equivalente {
    color: #666;
    margin-top: 4px;
}

.listado-resumen-separador {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
}

.listado-resumen-titulo {
    font-weight: 600;
    margin-bottom: 4px;
}

.listado-resumen-texto {
    color: #666;
}

.listado-resumen-sin-datos {
    color: #999;
}

.listado-resumen-item {
    margin-bottom: 4px;
}

/* Estilos para el total de elementos */
.total-elementos-container {
    padding: 12px 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #024731;
    border-radius: 4px;
}

.total-elementos-label {
    color: #024731;
    font-weight: 600;
    font-size: 15px;
}

.total-elementos-valor {
    color: #024731;
    font-weight: bold;
    font-size: 16px;
    margin-left: 8px;
}

/* Estilos para botones de acción */
.btn-action {
    background-color: #024731;
    color: #fff;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-action:hover {
    background-color: #FFB612;
    color: #024731;
}

.btn-remove {
    background-color: #ff4444;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-remove:hover {
    background-color: #cc0000;
}

/* Estilos para tabla de información */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.info-table th {
    background-color: #f0f4f1;
    color: #024731;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border: 1px solid #D5D6D2;
    width: 30%;
}

.info-table td {
    padding: 12px;
    border: 1px solid #D5D6D2;
    background-color: #fff;
}

/* Estilos para grid de opciones */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.option-card {
    display: block;
    border: 2px solid #D5D6D2;
    border-radius: 8px;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    background-color: #fff;
}

.option-card:hover {
    border-color: #024731;
    box-shadow: 0 4px 12px rgba(2, 71, 49, 0.15);
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
}

.option-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 15px;
}

.option-card h3 {
    color: #024731;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.option-card p {
    color: #666;
    font-size: 14px;
    text-align: center;
    margin: 0;
}

/* Estilos para paginación */
.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.page-item {
    margin: 0;
}

.page-link {
    background-color: #fff;
    color: #024731;
    border: 1px solid #D5D6D2;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.page-link:hover {
    background-color: #024731;
    color: #fff;
    border-color: #024731;
}

.page-item.active .page-link {
    background-color: #024731;
    color: #fff;
    border-color: #024731;
}

/* Estilos para inputs y selects dentro de form-section */
.form-section input[type="text"],
.form-section input[type="date"],
.form-section input[type="email"],
.form-section input[type="number"],
.form-section textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #D5D6D2;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}


.form-section select:not(.form-control) {
    width: 100%;
    padding: 12px;
    border: 1px solid #D5D6D2;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-section select,
.form-section select.form-control {
    padding: 16px 40px 16px 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    overflow: visible;
    line-height: 1.8;
    min-height: 52px;
    height: auto;
    vertical-align: middle;
}

.form-section input[type="text"]:focus,
.form-section input[type="date"]:focus,
.form-section input[type="email"]:focus,
.form-section input[type="number"]:focus,
.form-section select:focus,
.form-section textarea:focus {
    outline: none;
    border-color: #024731;
    box-shadow: 0 0 0 2px rgba(2, 71, 49, 0.1);
}

.gap-10 {
    gap: 10px;
}

/* Estilos para calendario y resumen */
.calendario-container {
    margin-top: 15px;
}

.linea-calendario {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 6px;
    border-left: 4px solid #C8E59A;
}

.resumen-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.resumen-item {
    padding: 10px;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #D5D6D2;
}

.resumen-item strong {
    color: #024731;
    display: block;
    margin-bottom: 5px;
}

.resumen-item span {
    color: #666;
    font-size: 14px;
}

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

@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .listado-table {
        font-size: 12px;
    }
    
    .listado-table th,
    .listado-table td {
        padding: 8px 4px;
    }
}

/* Estilos para FormularioSolicitudEntrega - Wizard */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.wizard-step {
    flex: 1;
    text-align: center;
    padding: 10px;
}

.wizard-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 5px;
}

.wizard-step-number.active {
    background-color: #024731;
}

.wizard-step-number.inactive {
    background-color: #ccc;
}

.wizard-step-label {
    font-weight: normal;
}

.wizard-step-label.active {
    font-weight: bold;
}

.wizard-actions {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.wizard-actions-right {
    margin-top: 20px;
    text-align: right;
}

/* Estilos para secciones del formulario */
.form-section-mt {
    margin-top: 30px;
}

/* Estilos para panel de información del almacén */
.info-almacen-panel {
    margin-top: 20px;
    padding: 20px;
    background-color: #d9edc8;
    border-radius: 8px;
}

.info-almacen-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.info-almacen-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #0d6efd;
    color: white;
    font-weight: bold;
    font-size: 14px;
    margin-right: 8px;
}

.info-almacen-title {
    color: #00563f;
    font-weight: 600;
    font-size: 16px;
}

.maxima-entrega-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.maxima-entrega-box {
    background-color: white;
    border-radius: 8px;
    padding: 20px 30px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.maxima-entrega-label {
    color: #00563f;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.maxima-entrega-value {
    color: #00563f;
    font-size: 36px;
    font-weight: bold;
    line-height: 1;
}

.maxima-entrega-unit {
    color: #00563f;
    font-size: 16px;
    font-weight: 500;
}

.maxima-entrega-no-especificado {
    color: #999;
    font-size: 16px;
}

.horario-entrega-text {
    text-align: center;
    color: #00563f;
    font-size: 14px;
    font-weight: 500;
}

.horario-entrega-text-empty {
    text-align: center;
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

/* Estilos para calendario */
.calendario-container {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.calendario-navegacion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendario-btn-nav {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #024731;
    padding: 5px 10px;
}

.calendario-btn-nav:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.calendario-mes-titulo {
    color: #024731;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.calendario-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.calendario-dia-header {
    text-align: center;
    font-weight: 600;
    color: #024731;
    padding: 10px;
}

.calendario-dia {
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
}

.calendario-dia-clickable {
    cursor: pointer;
}

.calendario-dia-disabled {
    cursor: not-allowed;
}

.calendario-dia-numero {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.calendario-dia-info {
    font-size: 11px;
    font-weight: 500;
}

.calendario-leyenda {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.calendario-leyenda-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.calendario-leyenda-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.calendario-leyenda-texto {
    font-size: 12px;
    color: #666;
}

/* Estilos para formulario de reparto */
.reparto-container {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

.reparto-titulo {
    color: #024731;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.reparto-tabla-container {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.reparto-tabla {
    width: 100%;
    border-collapse: collapse;
}

.reparto-tabla-header {
    border-bottom: 2px solid #024731;
}

.reparto-tabla-th-left {
    text-align: left;
    padding: 12px;
    color: #024731;
    font-weight: 600;
    font-size: 14px;
}

.reparto-tabla-th-center {
    text-align: center;
    padding: 12px;
    color: #024731;
    font-weight: 600;
    font-size: 14px;
}

.reparto-tabla-th-right {
    text-align: right;
    padding: 12px;
    color: #024731;
    font-weight: 600;
    font-size: 14px;
}

.reparto-tabla-row {
    border-bottom: 1px solid #ddd;
}

.reparto-tabla-td-info {
    padding: 12px;
    font-weight: 500;
    color: #024731;
}

.reparto-tabla-td-center {
    text-align: center;
    padding: 12px;
}

.reparto-tabla-td-right {
    text-align: right;
    padding: 12px;
    font-weight: 600;
    color: #024731;
}

.reparto-linea-info {
    font-size: 12px;
    color: #666;
}

.reparto-linea-disponible {
    font-size: 11px;
}

.reparto-linea-disponible-ok {
    color: #024731;
}

.reparto-linea-disponible-error {
    color: #ff4444;
}

.reparto-input-number {
    width: 80px;
    padding: 4px;
    margin: 0 auto;
    display: block;
}

/* Estilos para resumen de entrega */
.resumen-entrega-container {
    background-color: #024731;
    border-top: 3px solid #d9edc8;
    border-bottom: 3px solid #d9edc8;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.resumen-entrega-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.resumen-entrega-icon {
    font-size: 24px;
    margin-right: 10px;
}

.resumen-entrega-titulo {
    color: #FFB612 !important;
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.resumen-entrega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.resumen-entrega-card {
    background-color: #02563f;
    border-radius: 8px;
    padding: 20px;
    text-align: left;
}

.resumen-entrega-label {
    color: #b0b0b0;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
}

.resumen-entrega-value {
    color: white;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
}

/* Utilidades adicionales */
.mt-20 {
    margin-top: 20px;
}

.text-center {
    text-align: center;
}

/* _content/Cartes.Proveedores/Shared/MainLayout.razor.rz.scp.css */
.page[b-s1kunr6z3m] {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main[b-s1kunr6z3m] {
    flex: 1;
}

.sidebar[b-s1kunr6z3m] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-s1kunr6z3m] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 4.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-s1kunr6z3m] a, .top-row .btn-link[b-s1kunr6z3m] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

.top-row a:first-child[b-s1kunr6z3m] {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-s1kunr6z3m] {
        display: none;
    }

    .top-row.auth[b-s1kunr6z3m] {
        justify-content: space-between;
    }

    .top-row a[b-s1kunr6z3m], .top-row .btn-link[b-s1kunr6z3m] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-s1kunr6z3m] {
        flex-direction: row;
    }

    .sidebar[b-s1kunr6z3m] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-s1kunr6z3m] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div[b-s1kunr6z3m] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Estilos para la sección de confirmación */
.confirmacion-checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.confirmacion-checkbox-container:hover .confirmacion-label {
    color: #000;
}

.confirmacion-checkbox {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #FFB612;
    flex-shrink: 0;
}

.confirmacion-label {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.6;
    cursor: pointer;
    user-select: none;
    flex: 1;
}

.confirmacion-label:hover {
    color: #000;
}

.file-upload-section .validation-message {
    margin-top: 10px;
    color: #dc3545;
    font-weight: 500;
    font-size: 14px;
}

/* Estilos para la información del proveedor en la cabecera */
.proveedor-info {
    color: #024731;
    font-size: 14px;
    vertical-align: middle;
    display: inline-block;
}

.proveedor-info strong {
    font-weight: 600;
}
