/* 全站基本樣式：置中卡片版面與表單元件 */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Microsoft JhengHei", sans-serif;
    background: #f3f4f6;
    color: #1f2937;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.card {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 420px;
}

h1 {
    font-size: 22px;
    margin-top: 0;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

label {
    display: block;
    margin: 14px 0;
    font-size: 14px;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    margin-top: 6px;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

.btn {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 18px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover {
    background: #1d4ed8;
}

.btn-google {
    background: #ea4335;
}

.btn-google:hover {
    background: #c5221f;
}

.link {
    margin-left: 12px;
    color: #6b7280;
    font-size: 14px;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}
