/* 登入頁面樣式 */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.bg-dark {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.login-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.login-image-side {
    flex: 1;
    background-color: #000;
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    max-height: 100vh;
}

.login-image-side img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 100vh;
}

.login-image-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.login-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    overflow-y: auto;
    max-height: 100vh;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.login-form-container {
    width: 100%;
    max-width: 28rem;
    padding: 0 2rem;
    margin: auto;
}

.login-logo {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    margin-right: 0.75rem;
}

.login-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.google-login-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    height: 3.5rem;
    border-radius: 0.5rem;
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.google-login-btn:hover {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .login-image-side {
        display: none;
    }
    
    .login-container {
        height: auto;
        min-height: 100vh;
    }
    
    .login-form-container {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .login-logo {
        width: 2rem;
        height: 2rem;
    }
}

@media (max-height: 600px) {
    .login-container {
        height: auto;
    }
    
    .login-logo {
        width: 2rem;
        height: 2rem;
    }
    
    .login-form-side {
        padding: 1rem 0;
    }
}
