/* 로그인 페이지 스타일 */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    padding: 2rem;
}

.login-box {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    width: 100%;
    max-width: 480px;
    position: relative;
    overflow: hidden;
}

.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1) 0%, rgba(26, 115, 232, 0) 100%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.logo {
    height: 40px;
    width: auto;
}

.autoever-logo {
    height: 32px;
}

.login-header h1 {
    font-size: 2rem;
    color: #1e2b3c;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.login-subtitle {
    color: #5f6368;
    font-size: 1.1rem;
    margin: 0;
}

.login-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1e2b3c;
    font-weight: 500;
    font-size: 0.95rem;
}

.input-group {
    position: relative;
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #5f6368;
    font-size: 1.1rem;
}

.input-group input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.login-btn, .register-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-btn {
    background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
    color: white;
}

.login-btn:hover {
    background: linear-gradient(135deg, #1557b0 0%, #0f4187 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}

.register-btn {
    background: white;
    color: #1a73e8;
    border: 1px solid #1a73e8;
}

.register-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.login-footer {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    position: relative;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.2rem;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1976d2;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.back-to-home:hover {
    background-color: #f0f4ff;
    color: #1565c0;
    text-decoration: none;
    border-color: #1976d2;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.1);
}

.back-to-home i {
    font-size: 0.9rem;
}

.privacy-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #5f6368;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.privacy-link:hover {
    background-color: #f0f4ff;
    color: #1976d2;
    text-decoration: none;
    border-color: #1976d2;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.1);
}

.privacy-link i {
    font-size: 0.9rem;
}

.copyright {
    color: #5f6368;
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #1e2b3c;
}

.modal-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a73e8;
    font-size: 1.2rem;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #5f6368;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.modal-body {
    padding: 2rem;
}

.register-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.register-grid .form-group {
    margin-bottom: 0;
}

.register-grid select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #1557b0 0%, #0f4187 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .login-box {
        padding: 2rem;
    }

    .register-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 1.5rem;
    }

    .login-header h1 {
        font-size: 1.75rem;
    }

    .login-subtitle {
        font-size: 1rem;
    }
}

.language-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1000;
}

.lang-toggle {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    background-color: #f5f5f5;
    border-color: #1976d2;
    color: #1976d2;
}

.lang-toggle .current-lang {
    font-weight: 500;
}

.lang-toggle .divider {
    margin: 0 3px;
    color: #999;
} 