/* 登入頁面樣式 — Group 6 淺嫩綠 */

main {
    background: var(--bg-group-6);
}

body {
    color: var(--text-on-light);
}

.google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.google-login-btn:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.google-login-btn img {
    width: 24px;
    height: 24px;
}

/* 登入頁面左右欄結構 — Group 6 淺嫩綠（背景由 main 套用 var(--bg-group-6) 提供，本容器透明） */
.login-flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 130px); /* 扣除header和footer的高度 */
    gap: 2rem;
    padding: 2rem;
    margin-top: 76px; /* header高度 */
}

.login-carousel {
    flex: 0 0 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    min-width: 200px;
    max-width: 320px;
    min-height: 300px;
    padding: 0;
    margin-right: 1rem;
}

.login-carousel img {
    width: 100%;
    height: auto;
    max-width: 300px;
    max-height: 500px;
    border-radius: 0;
    object-fit: contain;
    background: none;
    margin: 0;
}

.login-right-box {
    flex: 2;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 320px;
    max-width: 800px;
}

.login-description {
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.login-agreement {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #333;
    max-height: 230px;
    overflow-y: auto;
}

.login-agreement h3 {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
    color: #666;
}

.login-agreement ol {
    padding-left: 1.2rem;
}

.login-agreement li {
    margin-bottom: 0.7rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .login-flex-container {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        padding: 2.5rem 0.5rem 1.5rem 0.5rem;
        margin-top: 76px;
    }
    
    .login-carousel {
        max-width: 100vw;
        min-width: 0;
        min-height: 180px;
        margin: 0 auto;
        justify-content: center;
    }
    
    .login-carousel img {
        max-width: 98vw;
        max-height: 320px;
        width: 100%;
        height: auto;
    }
    
    .login-right-box {
        max-width: 98vw;
        min-width: 0;
        padding: 1.2rem 1rem;
        margin: 0.5rem 0.5rem 1.5rem 0.5rem;
        box-sizing: border-box;
    }
    
    .login-agreement {
        max-height: 120px;
        font-size: 0.95rem;
    }
} 