/* ===== Customize Page Styles ===== */

/* Overall Background - Light Brown/Beige */
.customize-page main {
    background-color: #f5f3ef;
}

/* Hero Banner */
.customize-hero {
    position: relative;
    height: 320px;
    margin-top: var(--header-height);
    overflow: hidden;
    background: linear-gradient(135deg, #2c3e6b 0%, #5a7fa8 40%, #c4956a 70%, #d4a574 100%);
    display: flex;
    align-items: center;
}

.customize-hero-bg {
    position: absolute;
    inset: 0;
    background: url('/res/images/language/customize-hero.jpg') center/cover no-repeat;
    opacity: 0.85;
}

.customize-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(20, 30, 60, 0.6) 0%, rgba(20, 30, 60, 0.2) 60%, transparent 100%);
}

.customize-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.customize-hero-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    max-width: 800px;
    margin-bottom: 16px;
    font-family: 'Playfair Display', serif;
}

.customize-hero-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 900px;
}

/* Tell Us Section */
.tell-us-section {
    padding: 40px 0 20px;
    background-color: #f5f3ef;
}

.tell-us-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tell-us-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.tell-us-subtitle {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Form Container */
.customize-form-container {
    max-width: 960px;
    margin: 0 auto 0;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Form Section */
.customize-form-section {
    margin-bottom: 32px;
}

.customize-form-section:last-child {
    margin-bottom: 0;
}

.customize-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 16px;
}

/* Form Field Group with Beige Background */
.customize-field-group {
    background: #f0ede8;
    padding: 24px;
    border-radius: 8px;
}

/* Form Row */
.customize-form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.customize-form-row:last-child {
    margin-bottom: 0;
}

.customize-form-group {
    display: flex;
    flex-direction: column;
}

.customize-form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 8px;
}

.customize-form-group label .required {
    color: #e74c3c;
}

.customize-input,
.customize-select,
.customize-textarea {
    padding: 10px 14px;
    border: 1px solid #d5d0c8;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #2c2c2c;
    background: #fff;
    transition: all 0.3s ease;
    width: 100%;
}

.customize-input:focus,
.customize-select:focus,
.customize-textarea:focus {
    border-color: #27ae60;
    outline: none;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.customize-input::placeholder {
    color: #999;
}

.customize-select {
    appearance: auto;
    cursor: pointer;
}

.customize-textarea {
    min-height: 100px;
    resize: vertical;
}

/* Checkbox Group */
.customize-checkbox-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.customize-checkbox-row:last-child {
    margin-bottom: 0;
}

.customize-checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #555;
    cursor: pointer;
}

.customize-checkbox-item input[type="checkbox"],
.customize-checkbox-item input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #27ae60;
    cursor: pointer;
    flex-shrink: 0;
}

/* Sub-section Label */
.customize-sub-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 12px;
    margin-top: 16px;
}

.customize-sub-label:first-child {
    margin-top: 0;
}

/* Budget Options */
.customize-budget-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.customize-budget-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #555;
    cursor: pointer;
}

.customize-budget-item input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #27ae60;
    cursor: pointer;
    flex-shrink: 0;
}

/* Special Remarks */
.customize-remarks-box {
    background: #f0ede8;
    padding: 20px 24px;
    border-radius: 8px;
}

.customize-remarks-box label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 12px;
}

.customize-remarks-box .customize-textarea {
    width: 100%;
    min-height: 100px;
}

/* Submit Button */
.customize-submit-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #27ae60;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 24px;
}

.customize-submit-btn:hover {
    background: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.customize-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Captcha Row */
.customize-captcha-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
}

.customize-captcha-row .captcha-group {
    flex: 0 0 auto;
    margin-bottom: 0;
}

.customize-captcha-row .captcha-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 8px;
}

.customize-captcha-row .captcha-group label .required {
    color: #e74c3c;
}

.customize-captcha-row .captcha-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.customize-captcha-row .captcha-input {
    width: 140px;
    padding: 10px 14px;
    border: 1px solid #d5d0c8;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #2c2c2c;
    background: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.customize-captcha-row .captcha-input:focus {
    border-color: #27ae60;
    outline: none;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.customize-captcha-row .captcha-img {
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .customize-hero {
        height: 280px;
    }

    .customize-hero-content h1 {
        font-size: 1.7rem;
    }

    .customize-form-container {
        padding: 32px;
    }

    .customize-checkbox-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .customize-budget-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .customize-hero {
        height: 240px;
    }

    .customize-hero-content h1 {
        font-size: 1.4rem;
    }

    .customize-hero-content p {
        font-size: 0.82rem;
    }

    .tell-us-section {
        padding: 30px 0 16px;
    }

    .tell-us-title {
        font-size: 1.3rem;
    }

    .customize-form-container {
        padding: 24px 20px;
        margin-bottom: 40px;
    }

    .customize-field-group {
        padding: 18px 16px;
    }

    .customize-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .customize-checkbox-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .customize-budget-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .customize-remarks-box {
        padding: 16px;
    }

    .customize-captcha-row {
        flex-direction: column;
        align-items: stretch;
    }

    .customize-captcha-row .captcha-input {
        width: 100%;
    }

    .customize-submit-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .customize-hero {
        height: 200px;
    }

    .customize-hero-content h1 {
        font-size: 1.2rem;
    }

    .customize-hero-content p {
        font-size: 0.78rem;
    }

    .tell-us-title {
        font-size: 1.15rem;
    }

    .customize-form-container {
        padding: 20px 16px;
    }

    .customize-field-group {
        padding: 14px 12px;
    }

    .customize-section-title {
        font-size: 0.9rem;
    }
}
