/* =================================== */
/* 📞 CONTACT PAGE STYLES */
/* =================================== */

/* =================================== */
/* 🔧 RESPONSIVE DISPLAY CONTROL */
/* =================================== */

/* 데스크탑: 데스크탑 버전 표시, 모바일 버전 숨김 */
.d-main {
    display: block;
}

.m-main {
    display: none;
}

/* 모바일: 모바일 버전 표시, 데스크탑 버전 숨김 */
@media (max-width: 767px) {
    .d-main {
        display: none !important;
    }
    
    .m-main {
        display: block !important;
    }
}

/* =================================== */
/* 🖥️ DESKTOP STYLES */
/* =================================== */

/* Contact Main */
.contact-main {
    padding-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Contact Form Section (기존 스타일 유지) */
.contact-form-section {
    padding: 80px 0;
    background: #120101;
}

/* 최상단 헤더: 타이틀 + 버튼들 */
.d-top-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto 150px;
    padding: 0 44px;
}

.d-main-title {
    font-size: 4rem;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
}

/* 상단 문의 버튼 (우측 배치) */
.d-contact-buttons {
    display: flex;
    gap: 20px;
    margin: 0 32px;
}

/* 메인 콘텐츠: 2단 레이아웃 */
.d-contact-main-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 44px;
}

/* 좌측 컬럼 */
.d-left-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* 우측 컬럼 */
.d-right-column {
    display: flex;
    flex-direction: column;
}

/* 페이지 헤더 */
.d-page-header {
    text-align: left;
    margin: 0;
    padding: 0;
}

.d-page-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.d-page-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
}

.contact-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 20px 40px;
    border-radius: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 224px;
    background: #eeeeee;
    border: none;
    font-family: inherit;
    text-align: center;
}

.contact-button:hover {
    background: #e0e0e0;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contact-button .button-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #222222;
}

.contact-button .button-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222222;
}

.contact-button .button-subtitle {
    font-size: 0.76rem;
    font-weight: 400;
    color: #222222;
}

.contact-button i {
    width: 29px;
    height: 29px;
    stroke-width: 1.5;
    color: #222222 !important;
}

.email-button {
    background: #eeeeee;
}

.email-button:hover {
    background: #e0e0e0;
}

.kakao-button {
    background: #eeeeee;
}

.kakao-button:hover {
    background: #e0e0e0;
}

/* 추천 섹션 */
.d-recommendation-section {
    padding: 1.5rem;
    background: #1a0505;
    border-radius: 12px;
    align-self: flex-start; /* 콘텐츠 높이에만 맞춤 */
}

.recommendation-title {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.recommendation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recommendation-list li {
    font-size: 0.95rem;
    color: #cccccc;
    padding: 10px 0;
    border-bottom: 1px solid #333;
    line-height: 1.5;
}

.recommendation-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* 데스크탑에서는 사용하지 않음 - 모바일 전용으로 이동 */
/* .contact-content 스타일은 모바일 섹션으로 이동됨 */

/* Contact Info (기존 + 개선) */
.contact-info {
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem 2rem 3rem;
}

.contact-info-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-info-subtitle {
    font-size: 1.125rem;
    color: #eee;
    line-height: 1.6;
    max-width: 400px;
    margin-bottom: 2rem;
}

/* 연락처 상세 정보 */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    padding: 1rem 0;
    border-bottom: none; /* border 제거 */
}

.contact-item:last-child {
    border-bottom: none;
}

.item-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.item-text {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.5;
}

/* Contact Form (기존 + 실제 폼 스타일) */
.contact-form {
    padding: 3rem 2rem 3rem 0;
    background: transparent; /* white에서 transparent로 변경 */
    border: none; /* border 제거 */
    border-radius: 12px;
}

.contact-form h2 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.form-description {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.form-container {
    background: #1a0505;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 2rem;
    overflow: hidden;
}

/* 폼 스타일 */
.contact-form-element {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.875rem;
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #120101;
    color: #ffffff;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #666666;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border: 1px solid #FF2B00;
    box-shadow: 0 0 0 3px rgba(255, 43, 0, 0.1);
    background: #120101;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* 체크박스 스타일 */
.checkbox-group {
    flex-direction: row !important;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #374151;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #667eea;
}

/* 제출 버튼 */
.submit-btn {
    background: #FF2B00;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #cc2200;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 43, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: transparent;
    color: #666;
    border: 2px solid #333;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* =================================== */
/* 🖥️ DESKTOP RESPONSIVE */
/* =================================== */

/* 중간 크기 화면에서 타이틀 크기 조정 */
@media (max-width: 1024px) {
    .d-main-title {
        font-size: 3rem;  /* 4rem → 3rem */
    }
}

/* =================================== */
/* 📱 MOBILE STYLES */
/* =================================== */

.m-main {
    padding-top: 60px; /* 모바일 네비게이션 높이 */
}

/* 모바일 상단 타이틀 */
.m-top-header {
    text-align: center;
    padding: 30px 20px 20px;
}

.m-main-title {
    font-size: 2rem;
    color: #ffffff;
    margin: 0;
}

/* 모바일 문의 버튼 */
.m-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.m-contact-buttons .contact-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    margin: 0px 10px;
    border-radius: 13px;
    text-decoration: none;
    background: #eeeeee;
    border: none;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.m-contact-buttons .contact-button:active {
    background: #e0e0e0;
    transform: scale(0.98);
}

.m-contact-buttons .contact-button .button-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #222222;
}

.m-contact-buttons .contact-button .button-title {
    font-size: 1rem;
    font-weight: 700;
    color: #222222;
}

.m-contact-buttons .contact-button .button-subtitle {
    font-size: 0.7rem;
    font-weight: 400;
    color: #222222;
}

.m-contact-buttons .contact-button i {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
    color: #222222 !important;
}

/* 모바일 페이지 헤더 */
.m-page-header {
    text-align: center;
    padding: 20px 20px;
}

.m-page-title {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.m-page-subtitle {
    font-size: 0.95rem;
    color: #cccccc;
}

/* 모바일 추천 섹션 */
.m-recommendation-section {
    margin: 20px;
    padding: 1.25rem;
    background: #1a0505;
    border-radius: 12px;
    width: calc(100% - 40px); /* 양쪽 마진 제외 */
}

.m-recommendation-section .recommendation-title {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.875rem;
    line-height: 1.3;
}

.m-recommendation-section .recommendation-list li {
    font-size: 0.875rem;
    padding: 9px 0;
    line-height: 1.5;
}

.m-recommendation-section .recommendation-list li:last-child {
    padding-bottom: 0;
}

/* 모바일 히어로 섹션 */
.m-hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 1rem;
    color: white;
    text-align: center;
}

.m-hero-content {
    max-width: 400px;
    margin: 0 auto;
}

.m-hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.m-hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* 모바일 연락처 정보 섹션 */
.m-contact-info-section {
    padding: 2rem 1rem;
    background: #f8f9fa;
}

.m-contact-info-container {
    max-width: 500px;
    margin: 0 auto;
}

.m-info-header {
    text-align: center;
    margin-bottom: 2rem;
}

.m-info-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.m-info-subtitle {
    font-size: 1rem;
    color: #666;
}

/* 모바일 연락 방법들 */
.m-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.m-contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: transparent; /* white에서 transparent로 변경 */
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.m-contact-method:hover,
.m-contact-method:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.m-method-icon {
    font-size: 1.5rem;
    width: 40px;
    display: flex;
    justify-content: center;
}

.m-method-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.m-method-label {
    font-size: 0.875rem;
    color: #666;
}

.m-method-value {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

.m-form-section {
    padding: 2rem 1rem;
    background: transparent; /* white 배경 제거 */
}

.m-form-container {
    max-width: 500px;
    margin: 20px auto;
    background: #1a0505;
    /* border: 1px solid #333; */
    border-radius: 12px;
    padding: 1.5rem;
}

.m-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.m-form-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.m-form-subtitle {
    font-size: 1rem;
    color: #666;
}

/* 모바일 폼 스타일 */
.m-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.m-form-group {
    display: flex;
    flex-direction: column;
}

.m-form-input,
.m-form-select,
.m-form-textarea {
    padding: 1rem;
    border: 1px solid #333;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #1a0505;
    color: #ffffff;
}

.m-form-input:focus,
.m-form-select:focus,
.m-form-textarea:focus {
    outline: none;
    border-color: #FF2B00;
    box-shadow: 0 0 0 2px rgba(255, 43, 0, 0.1);
    background: #1a0505;
}

.m-form-input::placeholder,
.m-form-textarea::placeholder {
    color: #666;
}

.m-form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* 모바일 체크박스 */
.m-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #374151;
}

.m-form-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #667eea;
}

/* 모바일 제출 버튼 */
.m-submit-btn {
    background: #FF2B00;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.m-submit-btn:hover,
.m-submit-btn:active {
    background: #cc2200;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 43, 0, 0.3);
}

.m-submit-btn:disabled {
    background: transparent;
    color: #666;
    border: 2px solid #333;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* =================================== */
/* 🔧 RESPONSIVE BREAKPOINTS */
/* =================================== */

/* 태블릿 (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-info {
        padding: 2rem;
        background: #120101;
    }
    
    .contact-form {
        padding: 2rem;
        border-radius: 0 0 12px 12px;
    }
    
    .contact-info-title {
        font-size: 2rem;
    }
}

/* 큰 화면 (1400px 이상) */
@media (min-width: 1400px) {
    .contact-content {
        max-width: 1400px;
        grid-template-columns: 1fr 2.5fr;
    }
}

/* 작은 모바일 (480px 이하) */
@media (max-width: 480px) {
    .m-hero-title {
        font-size: 1.625rem;
    }
    
    .m-contact-method {
        padding: 0.875rem;
    }
    
    .m-form-input,
    .m-form-select,
    .m-form-textarea {
        padding: 0.875rem;
    }
}

/* =================================== */
/* 📋 FORM STYLING (HTML에서 이동) */
/* =================================== */

/* 다크 테마 폼 컨테이너 */
.d-form-container, .m-form-container {
    background: #120101;
    border-radius: 12px;
    padding: 30px;
}

/* 입력 필드 스타일 */
.d-form-input, .d-form-textarea, .d-form-select,
.m-form-input, .m-form-textarea, .m-form-select {
    background: #1a0505;
    border: 1px solid #333;
    color: #ffffff;
}

.d-form-input:focus, .d-form-textarea:focus, .d-form-select:focus,
.m-form-input:focus, .m-form-textarea:focus, .m-form-select:focus {
    border-color: #FF2B00;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 43, 0, 0.1);
}

.d-form-input::placeholder, .d-form-textarea::placeholder,
.m-form-input::placeholder, .m-form-textarea::placeholder {
    color: #666;
}

/* 라벨 색상 */
.d-form-label, .m-form-group label {
    color: #ffffff;
}

/* 기본 스타일 제거 */
fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

/* 상담유형 버튼 스타일 - 데스크탑 */
.consultation-type-buttons {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.consultation-type-buttons input[type="radio"] {
    display: none;
}

.consultation-btn {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #333;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    background: #1a0505;
    color: #ffffff;
}

.consultation-btn:hover {
    border-color: #ffffff;
    background: rgba(255, 43, 0, 0.1);
}

.consultation-type-buttons input[type="radio"]:checked + .consultation-btn {
    background: #ffffff;
    color: #FF2B00;
    border: 2px solid transparent;
    font-weight: 500;
}

/* 개인정보 동의 섹션 스타일 - 데스크탑 */
.privacy-agreement-section {
    background: #1a0505;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #333;
}

.agreement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.agreement-header label {
    color: #ffffff;
}

.all-agree-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #ffffff;
}

.all-agree-checkbox input {
    margin-right: 8px;
    width: 19px;
    height: 19px;
    cursor: pointer;
    accent-color: #FF2B00;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #666;
    border-radius: 3px;
    background: transparent;
    position: relative;
}

.all-agree-checkbox input:checked {
    background: #FF2B00;
    border-color: #FF2B00;
}

.all-agree-checkbox input:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.all-agree-checkbox input:hover,
.all-agree-checkbox input:active {
    transform: scale(1) !important;
}

.agreement-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agreement-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
    color: #ffffff;
    position: relative;
}

.agreement-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.agreement-item span {
    padding-left: 30px;
}

.agreement-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18.5px;
    height: 18.5px;
    border: 2px solid #666;
    border-radius: 50%;
    background: transparent;
}

.agreement-item input:checked ~ span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18.5px;
    height: 18.5px;
    border: 2px solid #666;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FF2B00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
}

/* 제출 버튼 스타일 */
.d-submit-btn, .m-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background-color: #FF2B00;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.d-submit-btn:hover, .m-submit-btn:hover {
    background-color: #cc2200;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 43, 0, 0.3);
}

.d-submit-btn:disabled, .m-submit-btn:disabled {
    background-color: transparent;
    color: #666;
    border: 2px solid #333;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 모바일 스타일 */
.m-consultation-type-buttons {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.m-consultation-type-buttons input[type="radio"] {
    display: none;
}

.m-consultation-btn {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #333;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    background: #1a0505;
    color: #ffffff;
    font-size: 14px;
}

.m-consultation-btn:active {
    transform: scale(0.98);
}

.m-consultation-type-buttons input[type="radio"]:checked + .m-consultation-btn {
    background: #ffffff;
    color: #FF2B00;
    border: 2px solid transparent;
    font-weight: 500;
}

/* 모바일 개인정보 동의 섹션 */
.m-privacy-agreement-section {
    background: #1a0505;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    border: 1px solid #333;
}

.m-agreement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
    color: #ffffff;
}

.m-all-agree-checkbox {
    display: flex;
    align-items: center;
    color: #ffffff;
    cursor: pointer;
}

.m-all-agree-checkbox input {
    margin-right: 6px;
    width: 19px;
    height: 19px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #666;
    border-radius: 3px;
    background: transparent;
    position: relative;
}

.m-all-agree-checkbox input:checked {
    background: #FF2B00;
    border-color: #FF2B00;
}

.m-all-agree-checkbox input:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.m-all-agree-checkbox input:hover,
.m-all-agree-checkbox input:active {
    transform: scale(1) !important;
}

.m-agreement-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.m-agreement-item {
    display: flex;
    align-items: center;
    padding: 6px 0;
    color: #ffffff;
    position: relative;
}

.m-agreement-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.m-agreement-item span {
    padding-left: 30px;
    font-size: 14px;
    line-height: 1.4;
}

.m-agreement-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    border: 2px solid #666;
    border-radius: 50%;
    background: transparent;
}

.m-agreement-item input:checked ~ span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    border: 2px solid #666;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FF2B00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 11px 11px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
}

/* 자세히보기 링크 스타일 */
.detail-link {
    color: #888;
    text-decoration: underline;
    font-size: 12px;
    margin-left: 5px;
}