/* 로그인/회원가입 모달 스타일 */
.login-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
    z-index: 1001;
    min-width: 360px;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.auth-tabs {
    display: flex;
    margin-bottom: 24px;
    border-radius: 12px;
    background: #e9ecef;
    padding: 4px;
}

.auth-tab {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #6c757d;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

.auth-tab:hover:not(.active) {
    color: #0071e3;
}

/* 녹색 테마 (staff 페이지용) */
.green-theme .auth-tab.active {
    background: linear-gradient(135deg, #44aa6b 0%, #3a8f5a 100%);
    box-shadow: 0 2px 8px rgba(68, 170, 107, 0.3);
}

.green-theme .auth-tab:hover:not(.active) {
    color: #44aa6b;
}

.auth-form {
    animation: fadeIn 0.3s ease;
}

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

.login-container h2 {
    margin: 0 0 24px 0;
    font-size: 24px;
    background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.green-theme .login-container h2 {
    background: linear-gradient(135deg, #44aa6b 0%, #3a8f5a 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.login-container input {
    margin: 8px 0;
    padding: 12px 16px;
    width: calc(100% - 32px);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.login-container input:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.green-theme .login-container input:focus {
    border-color: #44aa6b;
    box-shadow: 0 0 0 4px rgba(68, 170, 107, 0.1);
}

.login-container button:not(.auth-tab) {
    padding: 12px 24px;
    background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    margin-top: 16px;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
    position: relative;
    overflow: hidden;
}

.login-container button:not(.auth-tab)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.login-container button:not(.auth-tab):hover::before {
    width: 300px;
    height: 300px;
}

.login-container button:not(.auth-tab):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
}

.green-theme .login-container button:not(.auth-tab) {
    background: linear-gradient(135deg, #44aa6b 0%, #3a8f5a 100%);
    box-shadow: 0 4px 12px rgba(68, 170, 107, 0.3);
    position: relative;
    overflow: hidden;
}

.green-theme .login-container button:not(.auth-tab)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.green-theme .login-container button:not(.auth-tab):hover::before {
    width: 300px;
    height: 300px;
}

.green-theme .login-container button:not(.auth-tab):hover {
    box-shadow: 0 6px 20px rgba(68, 170, 107, 0.4);
}

.auth-notice {
    margin-top: 16px;
    font-size: 12px;
    color: #6c757d;
    line-height: 1.5;
}

/* 오버레이 */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    animation: overlayFadeIn 0.2s ease-out;
}

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

