/* 신규인증 페이지 - 수수한 스타일 */
.ja_auth-container {
    max-width: 420px;
    margin: 40px auto;
    padding: 32px 24px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    color: #222;
    text-align: center;
    box-shadow: none;
    position: relative;
}



.ja_auth-header {
    margin-bottom: 22px;
}

.ja_auth-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #222;
    letter-spacing: -1px;
}

.ja_auth-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

.ja_auth-form {
    background: none;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.ja_form-group {
    margin-bottom: 18px;
    text-align: left;
}

.ja_form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 13px;
    color: #444;
}

.ja_form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    background: #fafbfc;
    color: #222;
    font-size: 15px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.ja_form-input::placeholder {
    color: #bbb;
}

.ja_form-input:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
}

/* 모험단명 입력 필드와 인증 버튼 배치 */
.ja_adventure-input-group {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.ja_adventure-input {
    flex: 1;
}

.ja_verify-btn {
    padding: 10px 12px;
    font-size: 13px;
}

.ja_checkbox-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
}

.ja_checkbox-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #444;
}

.ja_checkbox-input {
    width: 15px;
    height: 15px;
    accent-color: #667eea;
    cursor: pointer;
}

.ja_button-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.ja_btn {
    padding: 9px 20px;
    border: none;
    border-radius: 7px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: none;
}

.ja_btn-primary {
    background: #667eea;
    color: #fff;
}

.ja_btn-primary:hover {
    background: #4953b8;
}

.ja_btn-primary .ja_icon {
    color: #fff;
}

.ja_btn-primary i {
    color: #fff;
}

.ja_btn-primary .fas,
.ja_btn-primary .fa {
    color: #fff;
}

.ja_btn-secondary {
    background: #f3f4f6;
    color: #444;
    border: 1px solid #e5e7eb;
}

.ja_btn-secondary:hover {
    background: #e5e7eb;
}

.ja_icon {
    font-size: 15px;
    color: #888;
}

.ja_message {
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 14px;
}

.ja_message-success {
    background: #e6f7e9;
    border: 1px solid #b7e4c7;
    color: #2e7d32;
}

.ja_message-error {
    background: #fdeaea;
    border: 1px solid #f5c2c7;
    color: #c62828;
}

/* 인증 모달창 스타일 */
.ja_verify-modal .modal-content {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.ja_verify-modal .modal-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 12px 12px 0 0;
    padding: 20px 24px;
}

.ja_verify-modal .modal-title {
    color: #222;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}

.ja_verify-modal .modal-body {
    padding: 24px;
}

.ja_verify-modal .modal-footer {
    border-top: 1px solid #e5e7eb;
    padding: 16px 24px;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.ja_verify-adventure-display {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 7px;
    border: 1px solid #e5e7eb;
}

.ja_verify-adventure-name {
    font-weight: 600;
    color: #222;
}

.ja_verify-code-input {
    text-align: center;
    letter-spacing: 2px;
    font-weight: 600;
}

.ja_verify-btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* 랜덤 캐릭터 표시 영역 스타일 */
.ja_random-character-display {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 7px;
    border: 1px solid #e5e7eb;
    margin-top: 8px;
}

.ja_random-character-info {
    font-weight: 600;
    color: #222;
    font-size: 14px;
}

.ja_verify-instruction {
    margin-top: 12px;
    padding: 10px 12px;
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 6px;
    font-size: 13px;
    color: #1976d2;
    line-height: 1.4;
}

/* 가입 완료 모달 스타일 */
.ja_join-success-modal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ja_join-success-modal .modal-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 24px;
}

.ja_join-success-modal .modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0;
}

.ja_join-success-modal .modal-body {
    padding: 24px;
}

.ja_join-success-content {
    text-align: center;
}

.ja_join-success-icon {
    margin-bottom: 16px;
}

.ja_join-success-message h4 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

.ja_join-success-message p {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
    line-height: 1.5;
}

.ja_join-success-modal .modal-footer {
    border-top: 1px solid #e5e7eb;
    padding: 16px 24px;
    justify-content: center;
}

/* 모바일 */
@media (max-width: 484px) {
    .ja_auth-container {
        margin: 16px;
        padding: 18px 6px;
    }
    .ja_auth-title {
        font-size: 18px;
    }
    .ja_btn {
        width: 100%;
        justify-content: center;
    }
    .ja_button-group {
        flex-direction: column;
        gap: 8px;
    }
    
    /* 모바일에서 인증 버튼 길이 조정 */
    #verifyBtn {
        min-width: 50px;
        max-width: 60px;
        padding: 8px 6px !important;
        font-size: 11px !important;
    }
    
    /* 모바일에서 인증 버튼 텍스트 숨기고 아이콘만 표시 */
    #verifyBtn .ja_icon {
        font-size: 13px;
        margin-right: 0;
    }
    
    /* 모바일에서 입력 필드와 버튼 배치 조정 */
    .ja_form-group > div {
        gap: 4px;
    }
} 

