/* contact.css - 문의/의뢰하기 전용 스타일 */

body.page-contact {
    background-color: #f8fafc;
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
}

.main-header, .main-footer {
    flex-shrink: 0;
}

.page-header.contact-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 30px 40px;
    margin-bottom: 0;
}
.page-header.contact-header h1 {
    font-size: 1.8rem;
    color: #1e293b;
    font-weight: 700;
}

.contact-main {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.contact-form-wrapper {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    padding: 60px 80px;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 50px;
}
.contact-form-header h2 {
    font-size: 2.2rem;
    color: #514D6F;
    margin-bottom: 15px;
    font-weight: 700;
}
.contact-form-header p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}
.contact-form-header p span {
    color: #94a3b8;
    font-size: 0.95rem;
}

.inquiry-form .form-group {
    margin-bottom: 25px;
}
.inquiry-form label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}
.inquiry-form .required {
    color: #ef4444;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 15px;
}
.radio-card {
    flex: 1;
    cursor: pointer;
}
.radio-card input {
    display: none;
}
.radio-label {
    display: block;
    text-align: center;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #475569;
    font-weight: 500;
    transition: all 0.2s;
}
.radio-card input:checked + .radio-label {
    border-color: #514D6F;
    color: #ffffff;
    background-color: #514D6F;
    font-weight: 600;
}

/* Form Row for 2 columns */
.form-row {
    display: flex;
    gap: 20px;
}
.form-row .half {
    flex: 1;
}

/* Inputs */
.inquiry-form input[type="text"],
.inquiry-form input[type="email"],
.inquiry-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
    color: #94a3b8;
}
.inquiry-form input:focus,
.inquiry-form textarea:focus {
    border-color: #514D6F;
}

/* Checkbox area */
.checkbox-group {
    margin-top: 40px;
    margin-bottom: 40px;
}
.checkbox-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
}
.checkbox-label input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: #514D6F;
}
.checkbox-text {
    flex: 1;
}
.checkbox-text strong {
    display: block;
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 6px;
}
.privacy-details {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}
.privacy-details span {
    font-size: 0.8rem;
    color: #94a3b8;
    display: block;
    margin-top: 2px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background-color: #514D6F;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.submit-btn:hover {
    background-color: #3b3852;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 40px 20px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}
