/* Hinat B2B Contact Form - Styles */
/* Matching Hinat Tours UI/UX */

.hinat-b2b-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0rem;
}

.hinat-b2b-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hinat-b2b-header {
    text-align: center;
    margin-bottom: 2rem;
}

.hinat-b2b-title {
    font-size: 2rem;
    font-weight: 400;
    color: #4A3425;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hinat-b2b-description {
    font-size: 1.1rem;
    color: #6B5D4F;
    line-height: 1.6;
}

/* Form Sections */
.hinat-form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #E8D4B8;
}

.hinat-form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.hinat-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4A3425;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #C97B5C;
    display: inline-block;
}

/* Form Groups */
.hinat-form-group {
    margin-bottom: 1.25rem;
}

.hinat-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4A3425;
    font-weight: 500;
}

.hinat-field-description {
    font-size: 0.85rem;
    color: #6B5D4F;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.hinat-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Input Fields */
.hinat-input,
.hinat-select,
.hinat-textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #D4B896;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
}

.hinat-input:focus,
.hinat-select:focus,
.hinat-textarea:focus {
    outline: none;
    border-color: #C97B5C;
    box-shadow: 0 0 0 3px rgba(201, 123, 92, 0.1);
}

.hinat-input::placeholder,
.hinat-textarea::placeholder {
    color: #A89B8C;
}

.hinat-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox Grid for Services */
.hinat-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.hinat-checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hinat-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #C97B5C;
    cursor: pointer;
}

.hinat-checkbox-item label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
    font-size: 0.95rem;
}

/* Form Footer */
.hinat-form-footer {
    margin-top: 2rem;
    text-align: center;
}

.hinat-privacy-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #6B5D4F;
}

/* Buttons */
.hinat-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.hinat-btn-submit {
    background: #C97B5C;
    color: #ffffff;
}

.hinat-btn-submit:hover {
    background: #4A3425;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hinat-btn-submit:disabled {
    background: #D4B896;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading State */
.hinat-b2b-loading {
    text-align: center;
    padding: 3rem;
}

.hinat-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    border: 4px solid #F4E8D8;
    border-top-color: #C97B5C;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hinat-b2b-loading p {
    color: #6B5D4F;
    font-size: 1.1rem;
}

/* Success State */
.hinat-b2b-success {
    text-align: center;
}

.hinat-b2b-success .success-icon {
    width: 80px;
    height: 80px;
    background: #27AE60;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.hinat-b2b-success h3 {
    font-size: 1.75rem;
    color: #4A3425;
    margin-bottom: 0.75rem;
}

.reference-label {
    color: #6B5D4F;
    margin-bottom: 0.5rem;
}

.inquiry-reference {
    background: #F4E8D8;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4A3425;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.success-message {
    color: #6B5D4F;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.confirmation-note {
    color: #27AE60;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Next Steps */
.next-steps {
    background: #F9F6F2;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.next-steps h4 {
    color: #4A3425;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.next-steps ol {
    margin: 0;
    padding-left: 1.25rem;
    color: #6B5D4F;
}

.next-steps li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.next-steps li:last-child {
    margin-bottom: 0;
}

/* Contact Info */
.contact-info {
    background: #FFF9E6;
    border-left: 4px solid #D4AF37;
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    text-align: left;
}

.contact-info p {
    margin: 0.25rem 0;
    color: #6B5D4F;
}

.contact-info p:first-child {
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: #4A3425;
}

/* Responsive */
@media (max-width: 768px) {
    .hinat-b2b-container {
        padding: 1.5rem;
    }

    .hinat-b2b-title {
        font-size: 1.5rem;
    }

    .hinat-b2b-description {
        font-size: 1rem;
    }

    .hinat-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hinat-checkbox-grid {
        grid-template-columns: 1fr;
    }

    .hinat-btn {
        width: 100%;
    }

    .inquiry-reference {
        font-size: 1.25rem;
        padding: 0.5rem 1rem;
    }
}
