/* 페이지 전체에 구매대행 페이지와 동일한 배경을 적용하여
    테두리가 있는 것처럼 보이게 하는 스타일입니다.
*/
/*
body {
    background: linear-gradient(135deg, #009393 0%, #006666 100%);
}
*/
/* 페이지 제목 */
.sub-container .sub-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff; /* 배경이 어두워졌으므로 흰색으로 변경 */
    margin-bottom: 40px;
    position: relative;
    padding-top: 40px; /* 위쪽 여백 추가 */
}

.sub-container .sub-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffffff; /* 제목과 동일하게 흰색으로 변경 */
    border-radius: 2px;
}

/* 컨텐츠 카드 */
.sub-container .coin-page-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 1200px;
    overflow: hidden;
    margin-bottom: 80px; /* 카드 아래 여백 추가 */
}

/* 단계 표시 */
.sub-container .process-steps {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    gap: 10px;
    overflow-x: auto;
}

.sub-container .step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    flex: 1;
    min-width: 100px;
    padding: 0 10px;
}

.sub-container .step-item:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 25px;
    right: -25px;
    font-size: 24px;
    color: #009393;
    z-index: 1;
}

.sub-container .step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #009393 0%, #006666 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0, 147, 147, 0.3);
}

.sub-container .step-icon span { color: white; font-size: 24px; font-weight: bold; }
.sub-container .step-title { font-size: 14px; font-weight: 600; color: #2c3e50; line-height: 1.4; }

/* 정보 및 유의사항 섹션 */
.sub-container .info-section { padding: 40px 30px; }
.sub-container .info-title { font-size: 24px; font-weight: 700; color: #2c3e50; margin-bottom: 25px; text-align: center; }

.sub-container .guidance-box {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #e6f4f4;
    border: 1px solid #b2dfdb;
    border-radius: 12px;
    margin-bottom: 25px;
}

.sub-container .guidance-box-icon { font-size: 24px; margin-right: 15px; }
.sub-container .guidance-box-text { font-size: 16px; font-weight: 500; color: #004d40; line-height: 1.6; word-break: keep-all; }
.sub-container .notice-highlight { color: #009393; font-weight: 600; }

.sub-container .notice-list {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e9ecef;
}

.sub-container .notice-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.sub-container .notice-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sub-container .notice-item::before { content: '•'; color: #009393; font-weight: bold; font-size: 18px; margin-right: 10px; flex-shrink: 0; }
.sub-container .notice-text { font-size: 14px; line-height: 1.6; color: #495057; word-break: keep-all; }

/* 신청 버튼 섹션 */
.sub-container .action-section { padding: 10px 30px 40px; }
.sub-container .action-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #009393 0%, #006666 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 147, 147, 0.3);
}

.sub-container .action-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 147, 147, 0.4); }
.sub-container .action-button:disabled { opacity: 0.6; cursor: not-allowed; }

/* 고객센터 정보 섹션 (기본 숨김) */
.sub-container .customer-center-section {
    display: none;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 0 0 20px 20px;
}

.sub-container .section-title { font-size: 22px; font-weight: 700; color: #2c3e50; margin-bottom: 25px; padding-bottom: 10px; border-bottom: 2px solid #009393; }

.sub-container .contact-group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 15px;
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.sub-container .contact-label { font-size: 16px; font-weight: 600; color: #495057; width: 150px; flex-shrink: 0; }
.sub-container .contact-link { font-size: 16px; color: #007bff; text-decoration: none; word-break: break-all; }
.sub-container .contact-link:hover { text-decoration: underline; }

/* 반응형 */
@media (max-width: 768px) {
    .sub-container .sub-title { font-size: 24px; padding-top: 20px; }
    .sub-container .process-steps { justify-content: flex-start; }
    .sub-container .step-item:not(:last-child)::after { display: none; }
    .sub-container .contact-group { flex-direction: column; align-items: flex-start; }
    .sub-container .contact-label { margin-bottom: 10px; }
}
@media (max-width: 768px) {
    .sub-container {
        padding: 20px 10px;
    }
}


/* 알림 모달 */
.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.alert-modal {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.alert-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.alert-icon.success {
    color: #28a745;
}

.alert-icon.error {
    color: #dc3545;
}

.alert-icon.info {
    color: #009393;
}

.alert-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.alert-message {
    font-size: 16px;
    line-height: 1.5;
    color: #495057;
    margin-bottom: 25px;
}

.alert-close-btn {
    padding: 12px 30px;
    background: #009393;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.alert-close-btn:hover {
    background: #006666;
}