/* ========================================
   PROFESSIONAL ENQUIRY FORM - Clean Corporate Design
   ======================================== */

/* Form Container */
.enquiry-form-container {
    background: #ffffff;
    border-radius: 8px;
    padding: 35px 45px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(168, 141, 94, 0.15);
    position: relative;
}

/* Simple Top Accent */
.enquiry-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #a88d5e;
}

/* Form Title */
.enquiry-form-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #664131;
    margin-bottom: 30px;
    text-align: left;
}

.enquiry-form-title i {
    display: none;
}

/* Form Labels */
.form-label-custom {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.form-label-custom .required-star {
    color: #d9534f;
    margin-left: 3px;
}

/* Input Fields - Larger & Cleaner */
.form-control-custom {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    background: #ffffff;
    color: #333;
    font-weight: 400;
    transition: all 0.2s ease;
}

.form-control-custom:focus {
    border-color: #a88d5e;
    box-shadow: 0 0 0 3px rgba(168, 141, 94, 0.08);
    outline: none;
    background: #ffffff;
}

.form-control-custom::placeholder {
    color: #999;
    font-weight: 400;
}

/* Select Dropdown */
.form-select-custom {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    background: #ffffff;
    color: #333;
    font-weight: 400;
    transition: all 0.2s ease;
    cursor: pointer;
    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='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-select-custom:focus {
    border-color: #a88d5e;
    box-shadow: 0 0 0 3px rgba(168, 141, 94, 0.08);
    outline: none;
    background-color: #ffffff;
}

/* Preferences Checkboxes - Horizontal Layout */
.preferences-group-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 10px;
}

.checkbox-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 400;
    color: #333;
}

.checkbox-custom input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    cursor: pointer;
    accent-color: #a88d5e;
}

/* Captcha Section - Inline Layout */
.captcha-inline {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.captcha-image-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f8f8;
    padding: 10px 14px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    flex: 1;
}

.captcha-image-wrapper img {
    flex: 1;
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
    max-width: 140px !important;
    border-radius: 3px;
    border: none;
    background: transparent;
    padding: 0;
    object-fit: contain;
    aspect-ratio: auto !important;
}
}

.captcha-refresh-btn {
    width: 40px;
    height: 40px;
    background: #a88d5e;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.captcha-refresh-btn:hover {
    background: #664131;
    transform: rotate(90deg);
}

.captcha-refresh-btn:active {
    transform: rotate(90deg) scale(0.95);
}

.captcha-input {
    flex: 0 0 100px;
    min-width: 80px;
}

/* Submit Button - Professional & Clean */
.submit-btn-enquiry {
    width: 100%;
    background: #a88d5e;
    border: none;
    border-radius: 5px;
    padding: 15px 30px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.submit-btn-enquiry:hover {
    background: #664131;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submit-btn-enquiry:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.submit-btn-enquiry:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.submit-btn-enquiry i {
    margin: 0 6px;
}

/* Alert Messages */
.alert-custom {
    border-radius: 5px;
    padding: 12px 16px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Row Spacing */
.form-row-spacing {
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .enquiry-form-container {
        padding: 30px 35px;
    }
    
    .form-control-custom,
    .form-select-custom {
        padding: 13px 16px;
        font-size: 0.95rem;
    }
    
    .submit-btn-enquiry {
        padding: 14px 25px;
        font-size: 1rem;
    }
    
    .captcha-inline {
        flex-direction: column;
    }
    
    .captcha-input {
        flex: 1;
    }
}

@media (max-width: 767px) {
    .enquiry-form-container {
        padding: 25px 20px;
        border-radius: 6px;
    }
    
    .enquiry-form-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .form-control-custom,
    .form-select-custom {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
    
    .captcha-image-wrapper {
        padding: 8px 12px;
    }
    
    .captcha-image-wrapper img {
        height: 36px;
    }
    
    .captcha-refresh-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .submit-btn-enquiry {
        padding: 13px 22px;
        font-size: 0.95rem;
    }
    
    .form-row-spacing {
        margin-bottom: 15px;
    }
    
    .preferences-group-horizontal {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .enquiry-form-container {
        padding: 20px 15px;
    }
    
    .enquiry-form-title {
        font-size: 1.1rem;
    }
}
