/* ============================================
   Cotizaci¨®n Form Styles
   ============================================ */

.cotizacion-page {
    min-height: calc(100vh - 160px);
    padding-bottom: 60px;
}

/* ---------- Header ---------- */
.cotizacion-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.cotizacion-header {
    margin-bottom: 40px;
}

.cotizacion-main-title {
    font-size: 28px;
    font-weight: 600;
    color: #0E0E0E;
    margin-bottom: 8px;
}

.cotizacion-subtitle {
    font-size: 15px;
    color: #585A61;
    margin: 0;
}

/* ---------- Sections ---------- */
.cotizacion-section {
    margin-bottom: 32px;
}

.cotizacion-section-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #0E0E0E;
    margin-bottom: 24px;
    padding-bottom: 0;
}

/* ---------- Row / Field Grid ---------- */
.cotizacion-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
    margin-bottom: 0;
}

.cotizacion-field {
    flex: 1 1 calc(50% - 12px);
    min-width: 0;
    margin-bottom: 24px;
}

.cotizacion-field--full {
    flex: 1 1 100%;
}

/* ---------- Labels ---------- */
.cotizacion-field>label {
    font-size: 13px;
    font-weight: 500;
    color: #0E0E0E;
    margin-bottom: 8px;
}

.cotizacion-field>label .required {
    color: #0E0E0E;
}

/* ---------- Inputs & Selects ---------- */
.cotizacion-field input[type="text"],
.cotizacion-field input[type="email"],
.cotizacion-field input[type="tel"],
.cotizacion-field input[type="date"],
.cotizacion-field select,
.cotizacion-field textarea {
    width: 100%;
    height: 44px;
    padding: 8px 0;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #0E0E0E;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    outline: none;
    transition: border-color 0.25s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.cotizacion-field textarea {
    height: auto;
    min-height: 80px;
    resize: vertical;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 12px;
}

.cotizacion-field textarea::placeholder {
    color: #aaa;
    font-weight: 400;
}

.cotizacion-field textarea:focus {
    border-color: #0E0E0E;
}

.cotizacion-field input[type="date"] {
    cursor: pointer;
}

.cotizacion-field input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

/* ---------- File Upload ---------- */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 16px;
    border: 2px dashed #ccc;
    border-radius: 6px;
    background: #fafafa;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.file-upload-wrapper:hover .file-upload-display {
    border-color: #999;
    background: #f4f4f4;
}

.file-upload-display i {
    font-size: 28px;
    color: #999;
}

.file-upload-text {
    font-size: 14px;
    color: #888;
}

.file-upload-selected {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #f9f9f9;
}

.file-upload-selected i.fa-file-pdf-o {
    font-size: 22px;
    color: #c62828;
}

.file-upload-name {
    flex: 1;
    font-size: 14px;
    color: #0E0E0E;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-upload-remove {
    background: none;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    color: #999;
    font-size: 16px;
    z-index: 3;
    position: relative;
    transition: color 0.2s ease;
}

.file-upload-remove:hover {
    color: #c62828;
}

.cotizacion-field.has-error .file-upload-display {
    border-color: #c62828;
}

.cotizacion-field.has-error .file-upload-selected {
    border-color: #c62828;
}

.cotizacion-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 24px;
    cursor: pointer;
}

.cotizacion-field select:disabled {
    color: #0E0E0E;
    opacity: 1;
    background-color: #f8f8f8;
    border-bottom-color: #e0e0e0;
    cursor: default;
}

.cotizacion-field input::placeholder {
    color: #aaa;
    font-weight: 400;
}

.cotizacion-field input:focus,
.cotizacion-field select:focus,
.cotizacion-field input[type="date"]:focus {
    border-bottom-color: #0E0E0E;
}

/* ---------- Validation States ---------- */
.cotizacion-field.has-error input,
.cotizacion-field.has-error select,
.cotizacion-field.has-error textarea {
    border-color: #c62828;
}

.cotizacion-field.has-success input,
.cotizacion-field.has-success select,
.cotizacion-field.has-success textarea {
    border-color: #2e7d32;
}

.field-error {
    display: block;
    font-size: 12px;
    color: #c62828;
    margin-top: 4px;
    min-height: 16px;
    line-height: 16px;
}

/* ---------- Checkboxes ---------- */
.cotizacion-field--checkbox {
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: 400 !important;
    margin: 0;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 1.5px solid #ccc;
    border-radius: 3px;
    background: #fff;
    transition: all 0.2s ease;
    position: relative;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom {
    background: #0E0E0E;
    border-color: #0E0E0E;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 13px;
    color: #585A61;
    line-height: 1.5;
}

.checkbox-text a {
    color: #0E0E0E;
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-text a:hover {
    color: #585A61;
}

.cotizacion-field--checkbox.has-error .checkbox-custom {
    border-color: #c62828;
}

/* ---------- Submit Button ---------- */
.cotizacion-submit-wrapper {
    margin-top: 16px;
    margin-bottom: 16px;
}

.cotizacion-submit-btn {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, opacity 0.3s ease;
}

.cotizacion-submit-btn:hover {
    background: #000;
}

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

.cotizacion-submit-btn.is-loading {
    pointer-events: none;
    opacity: 0.7;
}

/* ---------- General Error ---------- */
.cotizacion-general-error {
    text-align: center;
    font-size: 14px;
    color: #c62828;
    padding: 12px;
    margin-top: 8px;
    background: #fce4ec;
    border-radius: 6px;
}

/* ---------- Thank You View ---------- */
.thank-you-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
    animation: fadeInUp 0.5s ease forwards;
}

.thank-you-banner {
    background: #e8f5e9;
    border-radius: 8px;
    padding: 40px 32px;
    margin-bottom: 32px;
}

.thank-you-title {
    font-size: 32px;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 12px;
}

.thank-you-text {
    font-size: 16px;
    color: #2e7d32;
    margin: 0;
    line-height: 1.6;
}

.thank-you-actions {
    display: flex;
    gap: 16px;
}

.thank-you-btn {
    flex: 1;
    text-align: center;
    text-decoration: none;
    min-width: 0;
}

.thank-you-btn:hover,
.thank-you-btn:focus {
    text-decoration: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .cotizacion-row {
        flex-direction: column;
        gap: 0;
    }

    .cotizacion-field {
        flex: 1 1 100%;
    }

    .cotizacion-main-title {
        font-size: 24px;
    }

    .thank-you-actions {
        flex-direction: column;
    }

    .thank-you-btn {
        width: 100%;
    }

    .thank-you-banner {
        padding: 28px 20px;
    }

    .thank-you-title {
        font-size: 26px;
    }
}<!--ºÄÊ±1782473744.1017Ãë-->