body{padding-bottom: 0px;background: #fff;}
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s ease-out;
    border-radius: 20px;
}

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

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff0050, #ff4081);
    border-radius: 16px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(255, 0, 80, 0.3);
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

.auth-form {
    margin-bottom: 30px;
}

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

.form-input {
    width: 100%;
    height: 56px;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 500;
    background: #fafafa;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: #ff0050;
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 0, 80, 0.1);
}

.form-group.error .form-input {
    border-color: #ff4757;
    background: #fff5f5;
}

.error-message {
    color: #ff4757;
    font-size: 14px;
    margin-top: 8px;
    display: none;
    font-weight: 500;
}

.form-group.error .error-message {
    display: block;
}

.check-btn {
    position: absolute;
    right: 8px;
    top: 8px;
    height: 40px;
    padding: 0 16px;
    background: #ff0050;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.check-btn:hover {
    background: #e6004a;
    transform: translateY(-1px);
}

.form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    accent-color: #ff0050;
}

.checkbox-label {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.checkbox-label a {
    color: #ff0050;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.auth-button {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, #ff0050, #ff4081);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 0, 80, 0.3);
}

.auth-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 0, 80, 0.4);
}

.auth-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.divider-text {
    background: white;
    padding: 0 20px;
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    background: white;
}

.social-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-button.kakao {
    background: #fee500;
    color: #3c1e1e;
    border-color: #fee500;
}

.social-button.naver {
    background: #03c75a;
    color: white;
    border-color: #03c75a;
}

.social-button.google {
    color: #333;
}

.social-button.apple {
    background: #000;
    color: white;
    border-color: #000;
}

.social-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.auth-footer {
    text-align: center;
}

.auth-footer-text {
    color: #666;
    font-size: 14px;
}

.auth-footer-link {
    color: #ff0050;
    text-decoration: none;
    font-weight: 600;
    margin-left: 8px;
}

.auth-footer-link:hover {
    text-decoration: underline;
}

.success-animation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.success-animation > div {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    animation: scaleIn 0.3s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 40px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .auth-card {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .social-buttons {
        grid-template-columns: 1fr;
    }
    
    .form-input {
        padding-right: 100px;
    }
    
    .check-btn {
        right: 8px;
        width: 80px;
        font-size: 12px;
    }
}