/* 회원가입 페이지 스타일 */

body {
    background: #ffffff;
}

#challenge-wrap {
    padding: 2rem 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.signup-container {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 3rem 2.5rem;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signup-header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo {
    margin-bottom: 1rem;
}

.logo img {
    max-width: 200px;
    height: auto;
}

.signup-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.signup-header p {
    font-size: 1rem;
    color: #666;
}

.member-type-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.member-type-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 1.25rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    flex: 0 1 280px;
    max-width: 280px;
}

.member-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.2);
    border-color: #E63946;
}

.member-type-card.personal {
    background: linear-gradient(135deg, rgba(107, 79, 187, 0.05) 0%, rgba(230, 57, 70, 0.05) 100%);
    border: 2px solid rgba(230, 57, 70, 0.2);
}

.member-type-card.minors {
    background: linear-gradient(135deg, rgba(107, 79, 187, 0.05) 0%, rgba(230, 57, 70, 0.05) 100%);
    border: 2px solid rgba(230, 57, 70, 0.2);
}

.member-type-card.company {
    background: linear-gradient(135deg, rgba(107, 79, 187, 0.05) 0%, rgba(230, 57, 70, 0.05) 100%);
    border: 2px solid rgba(230, 57, 70, 0.2);
}

.member-type-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.member-type-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.member-type-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.signup-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #6B4FBB 0%, #E63946 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.signup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.4);
}

.back-to-login {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.back-to-login a {
    color: #E63946;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-to-login a:hover {
    color: #c52a35;
}

/* 팝업 스타일 */
.cmm-layer-wrap {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.cmm-layer-wrap.active {
    display: flex;
}

.inner-wrap {
    background: white;
    border-radius: 1.25rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.content-wrap .header {
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-wrap .header h1 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-wrap .content {
    padding: 2rem;
}

.bg-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #333;
}

.cmm-btn-wrap {
    display: flex;
    gap: 1rem;
}

.cmm-btn-wrap .btn-box {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.cmm-btn-white,
.cmm-btn-navy {
    flex: 1;
    padding: 0.875rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cmm-btn-white {
    background: white;
    color: #333;
    border: 2px solid #ddd;
}

.cmm-btn-white:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

.cmm-btn-navy {
    background: linear-gradient(135deg, #2DACD5 0%, #1a8fb3 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(45, 172, 213, 0.3);
}

.cmm-btn-navy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 172, 213, 0.4);
}

/* 반응형 */
@media (max-width: 768px) {
    .member-type-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .signup-container {
        padding: 2rem 1.5rem;
    }
    
    .signup-header h1 {
        font-size: 1.5rem;
    }
}
