/* ============================================
   BUDGET REQUEST MODAL STYLES
   ============================================ */

/* Reutiliza estilos del contact-modal y job-modal */
/* Solo definimos estilos específicos del budget modal */

.modal-budget {
    max-width: 750px;
    width: 95%;
}

.modal-budget .modal-header {
    background: #168a18;
    color: white;
    padding: 15px 30px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-budget .modal-header .header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-budget .modal-header .logo-modal {
    height: 40px;
    width: auto;
}

.modal-budget .modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.modal-budget .modal-header h3 i {
    margin-right: 10px;
    color: white;
}

.modal-budget .modal-header .close-modal {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-budget .modal-header .close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-budget .modal-body {
    padding: 30px;
    background: white;
    border-radius: 0 0 10px 10px;
    max-height: 80vh;
    overflow-y: auto;
}

/* Form styles */
.budget-modal-form .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.budget-modal-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.budget-modal-form .form-control:focus {
    border-color: #168a18;
    box-shadow: 0 0 0 0.2rem rgba(22, 138, 24, 0.15);
    outline: none;
}

.budget-modal-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.budget-modal-form select.form-control {
    cursor: pointer;
}

/* Submit button */
.budget-modal-form .btn-submit {
    background: linear-gradient(135deg, #168a18 0%, #28a745 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(22, 138, 24, 0.3);
}

.budget-modal-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 138, 24, 0.4);
}

.budget-modal-form .btn-submit:active {
    transform: translateY(0);
}

.budget-modal-form .btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.budget-modal-form .btn-submit:disabled:hover {
    transform: none;
    box-shadow: none;
}

.budget-modal-form .btn-submit i {
    margin-right: 8px;
}

/* Loading and messages */
.budget-modal-form .loading {
    background: #168a18;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.budget-modal-form .error-message {
    background: #dc3545;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.budget-modal-form .sent-message {
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

/* Captcha box (reutiliza estilos de contact-modal) */
.budget-modal-form .captcha-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 2px dashed #168a18;
}

.budget-modal-form .captcha-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #168a18;
    margin-bottom: 10px;
}

.budget-modal-form .captcha-question span {
    color: #243a9c;
    font-size: 1.3rem;
}

/* Form check (checkbox) */
.budget-modal-form .form-check {
    padding-left: 1.5rem;
}

.budget-modal-form .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.15rem;
    cursor: pointer;
}

.budget-modal-form .form-check-label {
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
}

.budget-modal-form .form-check-label a {
    color: #168a18;
    text-decoration: none;
    border-bottom: 1px dashed #168a18;
}

.budget-modal-form .form-check-label a:hover {
    color: #243a9c;
    border-color: #243a9c;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-budget {
        width: 95%;
        margin: 20px auto;
    }

    .modal-budget .modal-header {
        padding: 15px 20px;
    }

    .modal-budget .modal-header h3 {
        font-size: 1.1rem;
    }

    .modal-budget .modal-body {
        padding: 20px;
        max-height: 70vh;
    }
}