/*========index.css========*/
/*--重設空隙--*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-image: url('/image/0-background.jpg'); 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

a {
    text-decoration: none; 
    color: inherit;
}

header {
    background-color: #000; 
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

header h1 a { 
    color: #ffffff; 
    font-weight: bold;      
}

.nav-links {
    display: flex; 
    list-style: none;
    gap: 20px;
}

.nav-links li a { 
    color: #fff; 
}

.nav-links li a.nav-login-btn {
    background-color: rgb(0, 0, 0);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid rgb(255, 255, 255);
}

.nav-links li a:hover {
    color: rgb(95, 162, 200);
}

/*以上為標題*/


.container-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-card h2 { 
    margin: 0 0 25px 0; 
    color: #2c3e50; 
}

.group-input { 
    margin-bottom: 15px; 
}

.group-input input { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ccc; 
    border-radius: 6px; 
    font-size: 1rem; 
    box-sizing: border-box; 
}

.btn-primary { 
    width: 100%; 
    padding: 12px; 
    background-color: rgb(21, 192, 183); 
    color: white; 
    border: none; 
    border-radius: 6px; 
    font-size: 1.05rem; 
    font-weight: bold; 
    cursor: pointer; 
    transition: 0.2s; 
    margin-top: 10px; 
}

.btn-primary:hover { 
    background-color: rgb(18, 160, 150); 
}

.btn-secondary {
    width: 100%; 
    padding: 12px; 
    background-color: transparent;
    color: rgb(21, 192, 183); 
    border: 2px solid rgb(21, 192, 183);
    border-radius: 6px; 
    font-size: 1.05rem; 
    font-weight: bold;
    cursor: pointer; 
    transition: 0.2s; 
    margin-top: 15px;
}

.btn-secondary:hover { 
    background-color: rgb(21, 192, 183); 
    color: white; 
}

.divider { 
    display: flex; 
    align-items: center; 
    margin: 25px 0; 
    color: #888; 
}

.divider::before, .divider::after { 
    content: ""; 
    flex: 1; 
    border-bottom: 1px solid #ddd; 
}


.btn-google { 
    width: 100%; 
    padding: 12px; 
    background-color: #fff; 
    color: #333; 
    border: 1px solid #ccc; 
    border-radius: 6px; 
    font-size: 1.05rem; 
    font-weight: bold; 
    cursor: pointer; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 10px; 
    transition: 0.2s; 
}

.btn-google:hover { 
    background-color: #f5f5f5; 
}

.google-icon { 
    width: 20px; 
    height: 20px; 
}

.footer {
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    padding: 10px 0;
    text-align: center;
    margin-top: 95px;
    color: #333;
}