* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.navbar {
    background: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    color: #111;
}

.inline {
    display: inline;
}

.btn-link {
    background: none;
    border: none;
    color: #555;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
}

.btn-link:hover {
    color: #111;
}

.container {
    max-width: 520px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.form-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-card h2,
.form-card h3 {
    margin-bottom: 1.5rem;
}

.form-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333;
}

.btn {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    margin-top: 0.5rem;
}

.btn:hover {
    background: #111;
}

.btn-secondary {
    background: #666;
}

.btn-secondary:hover {
    background: #444;
}

.form-footer {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: #666;
}

.form-footer a {
    color: #333;
    font-weight: 500;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #363;
    border: 1px solid #cec;
}

.text-muted {
    color: #888;
    font-size: 0.9rem;
}

hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 1.5rem 0;
}

.hero {
    text-align: center;
    padding: 4rem 1rem;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.hero p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Google OAuth button */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    padding: 0.65rem 1.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.btn-google:hover {
    background: #f8f8f8;
    border-color: #ccc;
}

.google-icon {
    flex-shrink: 0;
}

/* Divider between form and social buttons */
.divider {
    display: flex;
    align-items: center;
    margin: 1.25rem 0;
}

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

.divider span {
    padding: 0 0.75rem;
    color: #999;
    font-size: 0.85rem;
}
