﻿.form-container {
    background-color: #f2f2f2 !important;
    min-height: 100vh;
}

.step-container {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 10px !important;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

    .step-item.active {
        border-color: #1e3a8a;
        background: #1e3a8a;
        color: white;
    }

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #1e3a8a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-item.active .step-number {
    background: white;
    color: #1e3a8a;
}

.form-section {
    background: white;
    border-radius: 8px;
    padding-left: 30px;
    padding-right: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .form-section h2 {
        margin-bottom: 30px;
        font-size: 14px;
        font-weight: 600;
    }

.result-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 7px !important;
    text-align: center;
    margin-bottom: 10px
    /*height: 100%;*/
}

    .result-box h6 {
        font-size: 10px;
        color: #6c757d;
        margin-bottom: 10px;
        text-transform: uppercase;
        font-weight: 600;
    }

    .result-box .value {
        font-size: 14px;
        font-weight: bold;
        color: #1e3a8a;
    }

.conclusion-box {
    background: #ff9800;
    color: white;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    font-weight: 600;
}

/*****************************************/


.btn-outline-primary {
    border: 2px solid #1e3a8a;
    color: #1e3a8a;
}

.btn-primary {
    background: #1e3a8a;
    border-color: #1e3a8a;
}

.btn-warning {
    background-color: #f68225 !important;
    border-color: #ff9800;
}

.info-banner {
    background: #e8eaf6;
    border: 2px solid #3f51b5;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-banner-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .info-banner-item strong {
        color: #1e3a8a;
    }

.gastos-section {
    background: white;
    border-radius: 8px;
}

.gastos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
}

    .gastos-header h2 {
        margin: 0;
        font-size: 24px;
        font-weight: 600;
    }

.gastos-summary {
    display: flex;
    gap: 40px;
    align-items: center;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .summary-item span {
        font-weight: 600;
        color: #1e3a8a;
        font-size: 18px;
    }

.section-title {
    font-weight: 600;
    color: #333;
    margin: 25px 0 15px 0;
    padding: 10px 0;
}

.gastos-table-header {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr 1.5fr 1.5fr 1fr;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.gasto-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr 1.5fr 1.5fr 1fr;
    gap: 15px;
    padding: 15px;
    align-items: center;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 10px;
}

    .gasto-row .concepto-label {
        font-weight: 500;
        color: #333;
    }

    .gasto-row .dx-textbox,
    .gasto-row .dx-numberbox {
        width: 100%;
    }

.btn-eliminar {
    padding: 8px 16px;
    border: 2px solid #dc3545;
    background: white;
    color: #dc3545;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

    .btn-eliminar:hover {
        background: #dc3545;
        color: white;
    }

/******************************************/

.info-banner {
    background: #e8eaf6;
    border: 2px solid #3f51b5;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-banner-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .info-banner-item strong {
        color: #1e3a8a;
    }

.documentos-section {
    background: white;
    border-radius: 8px;
    /*padding: 30px;*/
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
}

    .documentos-section h2 {
        /*margin-bottom: 30px;*/
        font-size: 14px;
        font-weight: 600;
    }

.documentos-table-header {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 3fr 0.8fr;
    gap: 20px;
    /*padding: 15px 20px;*/
    background: #f8f9fa;
    border-radius: 6px;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.documento-row {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 3fr 0.8fr;
    gap: 20px;
    padding: 20px;
    align-items: center;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 15px;
}

.documento-nombre {
    font-weight: 500;
    color: #333;
}

.badge-obligatorio {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.badge-si {
    background: #e3f2fd;
    color: #1976d2;
}

.badge-no {
    background: #fce4ec;
    color: #c2185b;
}

.estado-pendiente {
    color: #ff9800;
    font-weight: 500;
}

.file-upload-container {
    position: relative;
}

.dx-fileuploader {
    width: 100%;
}

.btn-vista {
    padding: 6px 12px;
    border: 1px solid #1e3a8a;
    background: white;
    color: #1e3a8a;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

    .btn-vista:hover {
        background: #1e3a8a;
        color: white;
    }

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

/**************************************/

.info-banner {
    background: #e8eaf6;
    border: 2px solid #3f51b5;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-banner-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .info-banner-item strong {
        color: #1e3a8a;
    }

.documentos-section {
    background: white;
    border-radius: 8px;
    /*padding: 30px;*/
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
}

    .documentos-section h2 {
        margin-bottom: 30px;
        font-size: 24px;
        font-weight: 600;
    }

.documentos-table-header {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 3fr 0.8fr;
    gap: 20px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 6px;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.documento-row {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 3fr 0.8fr;
    gap: 20px;
    /*padding: 20px;*/
    align-items: center;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 15px;
}

.documento-nombre {
    font-weight: 500;
    color: #333;
}

.badge-obligatorio {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.badge-si {
    background: #e3f2fd;
    color: #1976d2;
}

.badge-no {
    background: #fce4ec;
    color: #c2185b;
}

.estado-pendiente {
    color: #ff9800;
    font-weight: 500;
}

.file-upload-container {
    position: relative;
}

.dx-fileuploader {
    width: 100%;
}

.btn-vista {
    padding: 6px 12px;
    border: 1px solid #1e3a8a;
    background: white;
    color: #1e3a8a;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

    .btn-vista:hover {
        background: #1e3a8a;
        color: white;
    }

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

/**********************************/

.info-banner {
    background: #e8eaf6;
    border: 2px solid #3f51b5;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-banner-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .info-banner-item strong {
        color: #1e3a8a;
    }

.resumen-section {
    background: white;
    border-radius: 8px;
}

    .resumen-section h2 {
        margin-bottom: 30px;
        font-size: 24px;
        font-weight: 600;
    }

.resumen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.resumen-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .resumen-item label {
        font-size: 14px;
        color: #666;
        font-weight: 500;
    }

    .resumen-item .value {
        font-size: 16px;
        color: #1e3a8a;
        font-weight: 600;
    }

.totales-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.total-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-align: center;
}

    .total-box h6 {
        font-size: 12px;
        color: #6c757d;
        margin-bottom: 10px;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    .total-box .value {
        font-size: 28px;
        font-weight: bold;
        color: #1e3a8a;
    }

.divider {
    border-top: 2px solid #e0e0e0;
    margin: 30px 0;
}

/**********************************/

.finalizar-button {
    background-color: #1e3a5f;
    border-radius: 8px;
}

    .finalizar-button .dx-button {
        background-color: #1e3a5f !important;
        border: none;
        border-radius: 8px;
        padding: 10px 20px;
        font-weight: 500;
    }

        .finalizar-button .dx-button:hover {
            background-color: #2a4a73 !important;
        }

    .finalizar-button .dx-button-content {
        color: white;
    }

    .finalizar-button .dx-icon {
        color: white;
    }

    /* Ajuste para el dropdown */
    .finalizar-button .dx-dropdownbutton-toggle {
        background-color: #1e3a5f !important;
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }