@charset "utf-8";

/* ============================================
   모두시공 회원 페이지 전용 CSS
   주색상: #7f9dad / 호버: #6591a9
   ============================================ */

/* 헤더 회원 링크 */
.header_inner {
    position: relative;
}

/* 서브 비주얼 - 회원/고객지원 */
.sub_visual.visualBg6 {background: url(/theme/basic/img/sub/sub_top_banner_5.jpg) no-repeat center center; background-size: cover;}
.sub_visual.visualBg7 {background: url(/theme/basic/img/sub/sub_top_banner_5.jpg) no-repeat center center; background-size: cover;}

/* ============================================
   공통 폼 스타일
   ============================================ */
.member-wrap {
    max-width: 500px;
    margin: 0 auto;
    padding: 60px 0 80px;
}

.member-wrap h3.page-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: #222;
}

.member-wrap .page-desc {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.member-form-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group label .required {
    color: #e74c3c;
    margin-left: 2px;
}

.member-input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.2s, background-color 0.2s;
    outline: none;
}

.member-input:focus {
    border-color: #7f9dad;
    background: #fff;
}

.member-input.error {
    border-color: #e74c3c;
}

.input-help {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.input-error {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 5px;
    display: none;
}

.input-success {
    font-size: 12px;
    color: #27ae60;
    margin-top: 5px;
    display: none;
}

/* 버튼 */
.member-btn {
    display: block;
    width: 100%;
    height: 54px;
    line-height: 54px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #7f9dad;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.member-btn:hover {
    background: #6591a9;
}

.member-btn:disabled {
    background: #bbb;
    cursor: not-allowed;
}

.member-btn-outline {
    display: block;
    width: 100%;
    height: 54px;
    line-height: 52px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #555;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.member-btn-outline:hover {
    border-color: #7f9dad;
    color: #7f9dad;
}

/* 구분선 */
.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    padding: 0 16px;
    color: #999;
    font-size: 14px;
    white-space: nowrap;
}

/* ============================================
   소셜 로그인 버튼
   ============================================ */
.social-login-wrap {
    margin-top: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
    border: none;
    transition: opacity 0.2s;
    text-decoration: none;
    box-sizing: border-box;
}

.social-btn:hover {
    opacity: 0.85;
}

.social-btn i,
.social-btn .social-icon {
    margin-right: 10px;
    font-size: 18px;
}

.social-btn-google {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.social-btn-google .social-icon {
    width: 20px;
    height: 20px;
}

.social-btn-apple {
    background: #000;
    color: #fff;
}

.social-btn-apple i {
    font-size: 20px;
}

/* ============================================
   약관 동의
   ============================================ */
.agree-wrap {
    margin-bottom: 25px;
}

.agree-item {
    margin-bottom: 10px;
}

.agree-item label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.agree-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    accent-color: #7f9dad;
}

.agree-all {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
}

.agree-all label {
    font-weight: 700;
    font-size: 15px;
    color: #333;
}

.agree-content {
    width: 100%;
    height: 100px;
    padding: 12px;
    font-size: 13px;
    line-height: 1.6;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow-y: auto;
    margin-bottom: 5px;
    box-sizing: border-box;
    resize: none;
}

/* ============================================
   하단 링크
   ============================================ */
.member-links {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #888;
}

.member-links a {
    color: #7f9dad;
    font-weight: 600;
    text-decoration: none;
}

.member-links a:hover {
    text-decoration: underline;
}

/* ============================================
   알림 메시지
   ============================================ */
.alert-box {
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-box.success {
    background: #eafbef;
    border: 1px solid #b4e6c8;
    color: #27ae60;
}

.alert-box.error {
    background: #fdeaea;
    border: 1px solid #f0b4b4;
    color: #e74c3c;
}

.alert-box.info {
    background: #eaf4fb;
    border: 1px solid #b4d6f0;
    color: #2980b9;
}

/* ============================================
   마이페이지 정보 테이블
   ============================================ */
.mypage-info {
    width: 100%;
    border-top: 2px solid #7f9dad;
}

.mypage-info tr {
    border-bottom: 1px solid #eee;
}

.mypage-info th {
    width: 120px;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    background: #f7f9fa;
    text-align: left;
    vertical-align: middle;
}

.mypage-info td {
    padding: 16px 20px;
    font-size: 14px;
    color: #333;
    vertical-align: middle;
}

.mypage-info .badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.mypage-info .badge-normal {
    background: #eef3f6;
    color: #7f9dad;
}

.mypage-info .badge-google {
    background: #fce8e6;
    color: #ea4335;
}

.mypage-info .badge-apple {
    background: #f0f0f0;
    color: #333;
}

.mypage-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.mypage-actions .member-btn,
.mypage-actions .member-btn-outline {
    flex: 1;
}

/* ============================================
   FAQ 아코디언
   ============================================ */
.faq-section {
    padding: 60px 0 80px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-item:first-child {
    border-top: 2px solid #7f9dad;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background: #f7f9fa;
}

.faq-question .q-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #7f9dad;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-right: 14px;
    flex-shrink: 0;
}

.faq-question .q-text {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.faq-question .q-arrow {
    font-size: 14px;
    color: #999;
    transition: transform 0.3s;
    margin-left: 10px;
}

.faq-item.active .faq-question .q-arrow {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    background: #f7f9fa;
}

.faq-answer {
    display: none;
    padding: 0 16px 24px 58px;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.faq-answer p {
    margin-bottom: 8px;
}

.faq-answer ul {
    padding-left: 20px;
    margin: 8px 0;
}

.faq-answer ul li {
    list-style: disc;
    margin-bottom: 4px;
}

/* ============================================
   인증 결과 페이지
   ============================================ */
.result-wrap {
    max-width: 500px;
    margin: 0 auto;
    padding: 80px 0;
    text-align: center;
}

.result-wrap .result-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.result-wrap .result-icon.success {
    color: #27ae60;
}

.result-wrap .result-icon.error {
    color: #e74c3c;
}

.result-wrap .result-icon.info {
    color: #3498db;
}

.result-wrap h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #222;
}

.result-wrap p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.result-wrap .member-btn {
    max-width: 280px;
    margin: 0 auto;
}

/* ============================================
   반응형
   ============================================ */
@media (max-width: 767px) {
    .member-wrap {
        padding: 40px 20px 60px;
    }

    .member-wrap h3.page-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .member-form-box {
        padding: 30px 24px;
    }

    .member-input {
        height: 46px;
        font-size: 14px;
    }

    .member-btn {
        height: 48px;
        line-height: 48px;
        font-size: 15px;
    }

    .faq-question .q-text {
        font-size: 15px;
    }

    .faq-answer {
        padding-left: 42px;
        font-size: 13px;
    }

    .mypage-info th {
        width: 100px;
        padding: 12px 14px;
        font-size: 13px;
    }

    .mypage-info td {
        padding: 12px 14px;
        font-size: 13px;
    }

    .mypage-actions {
        flex-direction: column;
    }

    .social-btn {
        height: 46px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .member-wrap {
        padding: 30px 16px 50px;
    }

    .member-form-box {
        padding: 24px 18px;
    }

    .result-wrap {
        padding: 50px 16px;
    }

    .result-wrap .result-icon {
        font-size: 48px;
    }

    .result-wrap h3 {
        font-size: 20px;
    }
}
