/* 회원가입/로그인 공통 스타일 */
.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.auth-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 450px;
}

.auth-box h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.check-btn {
    position: absolute;
    right: 5px;
    top: 35px;
    padding: 8px 15px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.check-btn:hover {
    background: #5568d3;
}

.form-group span {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}

.btn-submit, .btn-cancel {
    width: 48%;
    padding: 14px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit {
    background: #667eea;
    color: white;
    margin-right: 4%;
}

.btn-submit:hover {
    background: #5568d3;
}

.btn-cancel {
    background: #ddd;
    color: #555;
}

.btn-cancel:hover {
    background: #ccc;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    color: #777;
}

.auth-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-links span {
    margin: 0 10px;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .auth-box {
        padding: 30px 20px;
    }
    
    .auth-box h1 {
        font-size: 24px;
    }
    
    .btn-submit, .btn-cancel {
        width: 100%;
        margin: 5px 0;
    }
    
    .check-btn {
        position: static;
        display: block;
        width: 100%;
        margin-top: 5px;
    }
}