* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.login-wrapper {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* 왼쪽 로그인 폼 영역 */
.login-form-section {
    width: 35%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-content {
    width: 100%;
    max-width: 400px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    width: 100%;
}

.logo-image {
    max-width: 250px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    letter-spacing: -0.5px;
}

.login-form {
    width: 100%;
}

.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999999;
    font-size: 16px;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 15px;
    background-color: #ffffff;
    color: #333333;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.input-wrapper input::placeholder {
    color: #999999;
}

.remember-me {
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666666;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.login-btn:hover {
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
    transform: translateY(-1px);
}

.login-btn:active {
    transform: translateY(0);
}

.reset-password-btn {
    width: 100%;
    padding: 12px;
    background-color: #ffffff;
    color: #2196F3;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-password-btn:hover {
    background-color: #f5f5f5;
    border-color: #2196F3;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 12px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    color: #666666;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-select {
    padding: 5px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 12px;
    background-color: #ffffff;
    color: #666666;
    cursor: pointer;
}

.admin-mode {
    color: #666666;
    font-size: 12px;
}

/* 오른쪽 배경 이미지 영역 */
.background-section {
    width: 65%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #16213e 100%);
}

.animated-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.2) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        rgba(0, 0, 0, 0.2) 100%);
}

.hero-text {
    text-align: center;
    color: #ffffff;
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #4CAF50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.3;
    color: #ffffff;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease-out 0.4s both;
}

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

/* 반응형 텍스트 */
@media (max-width: 1400px) {
    .hero-title {
        font-size: 36px;
    }
    .hero-subtitle {
        font-size: 24px;
    }
    .hero-description {
        font-size: 16px;
    }
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .login-form-section {
        width: 100%;
    }
    
    .background-section {
        display: none;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 14px;
    }
}
