/* Inspired by Apple's design language and index_page.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', 'Arial', sans-serif;

    background-color: #f5f5f7;
    color: #1d1d1f;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

body.login-bg {
    background: linear-gradient(135deg, #f5eefc 0%, #fde4e4 100%);
}

.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand img {
    height: 40px;
}

.main-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.account-card {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 2.5rem 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 450px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.account-card h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1d1d1f;
}

.account-card .sub-heading {
    color: #6e6e73;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
    display: block;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    background-color: #f5f5f7;
    color: #1d1d1f;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control::placeholder {
    color: #86868b;
}

.form-control:focus {
    outline: none;
    border-color: #007aff;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
}

.btn-primary {
    background-color: #007aff;
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #006ee6;
}

.extra-links {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #6e6e73;
}

.extra-links a {
    color: #007aff;
    text-decoration: none;
    font-weight: 500;
}

.extra-links a:hover {
    text-decoration: underline;
}

.form-check-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.form-check-container .form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.form-check-container a {
    color: #007aff;
    text-decoration: none;
}

.form-check-container a:hover {
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #86868b;
    margin: 2rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #d2d2d7;
}

.divider:not(:empty)::before {
    margin-right: .5em;
}

.divider:not(:empty)::after {
    margin-left: .5em;
}

.btn-social {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
}

.btn-google {
    background-color: #fff;
    color: #1d1d1f;
    border: 1px solid #d2d2d7;
}

.btn-google:hover {
    background-color: #f5f5f7;
    color: #1d1d1f;
}

.btn-google i {
    color: #cf9aef;
}

.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    text-align: left;
}

@media (max-width: 480px) {
    .account-card {
        padding: 2rem 1.5rem;
    }
} 