/* 마이페이지 메인 래퍼 */
.mypage-wrapper {
    background: #faf8f8;
    min-height: 100vh;
    padding: 60px 0;
}

.mypage-wrapper .container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 전체 현황 섹션 */
.overview-section {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.08);
}

.user-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid #efe0db;
}

.membership-info {
    display: flex;
    gap: 50px;
    align-items: center;
    border-radius: 12px;
    margin-bottom: 24px;
}

.membership-type,
.business-code {
    display: flex;
    align-items: center;
    gap: 10px;
}

.membership-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.membership-value,
.business-code-value {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.business-code-value {
    letter-spacing: 0.5px;
}

.btn-copy-code {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    margin-left:-5px;
}

.btn-copy-code:hover {
}

.btn-copy-code svg {
    color: #999;
}

.btn-copy-code:hover svg {
    color:#666;
}

.welcome-title {
    font-size: 28px;
    font-weight: 400;
    color: #666;
}

.welcome-title strong {
    font-weight: 700;
    color: #333;
}

.btn-logout {
    padding: 10px 24px;
    background: #fff;
    color: #666;
    border: 1px solid #efe0db;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: #faf8f8;
    border-color: #d0d0d0;
}

/* 전체 현황 카드들 */
.overview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.overview-card {
    background: #faf8f8;
    border-radius: 12px;
    padding: 22px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}


.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-content {
    display: flex;
    flex-direction: column; 
}

.card-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.card-value {
    font-size: 20px;
    font-weight: 500;
    color: #333;
}

/* 회원탈퇴 링크 */
.withdrawal-link {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #f1f3f5;
}

.withdrawal-link a {
    font-size: 13px;
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.withdrawal-link a:hover {
    color: #666;
    text-decoration: underline;
}

/* 주문배송조회 섹션 */
.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

/* 메뉴 섹션 */
.menu-section {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.08);
}

/* 메뉴 그리드 - 3x3 그리드 */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.menu-card {
    background: #fff;
    border: 1px solid #efe0db;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    gap:15px;
}

.menu-card:hover {
    border-color: var(--lq-accent-primary); 
} 

.menu-icon-wrapper {
    position: relative;
}


.menu-icon-wrapper figure {width:40px;}

.menu-icon-wrapper figure img {width:100%;}

.menu-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    background: #ff4444;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid #fff;
}

.menu-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

/* 하단 섹션 */
.bottom-section {
    margin-top: 30px;
}

.bottom-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.link-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    word-break: keep-all;
    
}


.link-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    display: none;
}

/* 공지사항 아이콘 - 차분한 블루 */
.bottom-links .link-card:nth-child(1) .link-icon {
    background: linear-gradient(135deg, var(--lq-accent-primary) 0%, var(--lq-accent-primary-dark) 100%);
}

/* 1:1 문의 아이콘 - 따뜻한 오렌지 */
.bottom-links .link-card:nth-child(2) .link-icon {
    background: linear-gradient(135deg, #FF9A56 0%, #FF7B3D 100%);
}

/* FAQ 아이콘 - 프로페셔널 그린 */
.bottom-links .link-card:nth-child(3) .link-icon {
    background: linear-gradient(135deg, #5CB85C 0%, #449D44 100%);
}

.link-text {
    flex: 1;
}

.link-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.link-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.link-arrow {
    color: #b58374;
    flex-shrink: 0;
    transition: all 0.3s;
}

.link-arrow i {
    font-size:20px;
}

.link-card:hover .link-arrow {
    color: var(--lq-accent-primary);
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bottom-links {
        grid-template-columns: 1fr;
    }

    /* 태블릿에서 화살표와 아이콘 크기 축소 */
    .step-icon {
        width: 48px;
        height: 48px;
    }

    .step-icon svg {
        width: 20px;
        height: 20px;
    }

    .step-arrow {
        width: 20px;
        height: 20px;
        min-width: 20px;
        margin: 0 4px;
    }

    .step-count {
        font-size: 18px;
    }

    .menu-card {padding:20px 30px;}

    .menu-icon-wrapper figure {width:35px;}

    .card-value {font-size:18px;}

    .card-icon {width:40px;height:40px;}


}

@media (max-width: 768px) {


    .mypage-wrapper {
        padding: 40px 0;
    }

    .mypage-wrapper .container {
        padding: 0 20px;
    }

    .overview-section,
    .menu-section {
        padding: 24px 20px;
    }

    .user-welcome {
        align-items: flex-start;
        gap: 16px;
        margin-bottom:20px;
        padding-bottom:20px;
    }

    .welcome-title {
        font-size: 24px;
    }

    .btn-logout { 
        text-align: center;
    }

    .overview-card {
        padding: 20px;
        flex-direction: column;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .menu-card {
        padding: 20px;
        flex-direction: column;
        gap:5px;
    }
    
    .menu-icon {
        width: 52px;
        height: 52px;
    }

    .menu-icon svg {
        width: 22px;
        height: 22px;
    }

    .menu-title {
        font-size: 15px;
    }

    .membership-info {
        gap:0px;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom:10px;
    }

    .card-label {text-align: center;}
    .card-value {text-align: center;font-size:16px;}

    .card-icon {width:35px;height:35px;}

    .overview-cards {gap:10px;margin-bottom:0;}

}

@media (max-width: 480px) {
    .mypage-wrapper .container {
        padding: 0 16px;
    }

    .overview-section,
    .menu-section {
        padding: 20px 16px;
        border-radius: 12px;
    }
    
    .btn-copy-code {width:28px;height:28px;}
    
    .overview-cards {
        grid-template-columns: 1fr;
    }

    .membership-value, .business-code-value {font-size:14px;}

    .membership-info {gap:0;}

    .card-value,.card-label {text-align: left;}

    .overview-card {flex-direction: row;}

    .menu-icon-wrapper figure { width:30px;}

    .menu-title {font-size:14px;}

    .menu-card {padding:15px;}

    .link-card {padding:20px;}

    .link-title {font-size:16px;}

    .bottom-links {gap:10px;}

    .welcome-title {font-size:20px;}

    .btn-logout {padding:5px 14px;font-size:13px;}



}
