html, body {
    height: 100%;
}

body {
    margin: 0;
    background: #000; /* tamamen siyah arka plan */
    color: #e6e6e6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.card {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.04);
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.7);
}

.card h1 {
    margin: 0 0 18px 0;
    font-size: 20px;
    color: #f5f5f5;
}

.form-group {
    margin-bottom: 14px;
}

label {
    display: block;
    margin-bottom: 6px;
    color: #bdbdbd;
    font-size: 13px;
}

input[type="text"], input[type="email"], input[type="password"], input[asp-for] {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    color: #e9e9e9;
    border-radius: 8px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

input:focus {
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.02);
}

.field-validation {
    color: #ff8b8b;
    font-size: 12px;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.checkbox {
    font-size: 13px;
    color: #bdbdbd;
}

.forgot {
    color: #8ab4ff;
    text-decoration: none;
    font-size: 13px;
}

.forgot:hover {
    text-decoration: underline;
}

.form-actions {
    display: flex;
    justify-content: stretch;
}

.btn-primary {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(180deg, #1f2937, #111827);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.validation-summary {
    margin-top: 12px;
    color: #ffb3b3;
    font-size: 13px;
}

.signup-note {
    margin-top: 14px;
    color: #bdbdbd;
    font-size: 13px;
}

.signup-note a {
    color: #8ab4ff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 480px) {
    .card {
        padding: 20px;
        border-radius: 10px;
    }
}

.error-message {
    color: wheat;
}