body {
    background-color: #f6f8fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Helvetica, Arial, sans-serif;
    margin: 0;
}

.github-auth-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
}

.github-auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.github-auth-header h1 {
    font-size: 24px;
    font-weight: 400;
    margin-top: 16px;
}

.github-auth-card {
    width: 100%;
    max-width: 340px;
    background: #ffffff;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 16px;
    box-shadow: 0 1px 0 rgba(27,31,36,0.04);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 5px 12px;
    font-size: 14px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    outline: none;
}

input:focus {
    border-color: #0969da;
    box-shadow: 0 0 0 3px rgba(9,105,218,0.3);
}

.password-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-link {
    font-size: 12px;
    color: #0969da;
    text-decoration: none;
}

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

.btn-primary {
    width: 100%;
    padding: 5px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background-color: #2da44e;
    border: 1px solid rgba(27,31,36,0.15);
    border-radius: 6px;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #2c974b;
}

.flash-error {
    background: #ffebe9;
    border: 1px solid #ff8182;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    color: #cf222e;
    margin-bottom: 16px;
}

.github-auth-footer {
    width: 100%;
    max-width: 340px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    background: #ffffff;
    text-align: center;
    font-size: 14px;
}

.github-auth-footer a {
    color: #0969da;
    text-decoration: none;
}

.github-auth-footer a:hover {
    text-decoration: underline;
}

.auth-divider {
    height: 1px;
    background: #d8dee4;
    margin: 16px 0;
}

.btn-outline {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 5px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #24292f;
    background-color: #f6f8fa;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.btn-outline:hover {
    background-color: #eaeef2;
}

.auth-subtitle {
    text-align: center;
    font-size: 14px;
    color: #57606a;
    margin-top: 8px;
    margin-bottom: 24px;
}

.btn-link {
    background: none;
    border: none;
    color: #0969da;
    cursor: pointer;
    font-size: 14px;
}

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

/* Red destructive button (GitHub style) */
.btn-danger {
    width: 100%;
    padding: 5px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background-color: #cf222e;
    border: 1px solid rgba(27,31,36,0.15);
    border-radius: 6px;
    cursor: pointer;
}

.btn-danger:hover {
    background-color: #a40e26;
}