/* Sayfa yerleşimi */
.page {
    padding: 48px 0;
}

.form-wrap {
    max-width: 960px;
    margin: 0 auto;
}

/* Kart: daha yumuşak, camvari */
.card {
    background: linear-gradient(180deg, #fff, #fafbff);
    border: 1px solid #e8ecf4;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(10, 20, 40, 0.06);
    padding: 24px;
}

.card h3 {
    margin: 0 0 14px;
    font-size: 18px;
    letter-spacing: .2px;
}

/* Grid: daha nefes alan düzen */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

@media (max-width: 720px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Alanlar */
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: 13px;
    color: #475569;
    /* slate-600 */
    font-weight: 600;
    letter-spacing: .2px;
}

/* Girdi görünümü */
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="search"],
.field select,
textarea {
    width: 100%;
    appearance: none;
    border: 1px solid #e3e8f2;
    background: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.4;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.field input::placeholder,
textarea::placeholder {
    color: #9aa6b2;
}

/* Hover / Focus ring */
.field input:hover,
.field select:hover,
textarea:hover {
    border-color: #d5dbea;
}

.field input:focus,
.field select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 77, 155, .12);
    /* primary ring */
    background: #fff;
}

/* Hata / başarı durumları — mevcut .alert'lerin yanında input kenarlığı da boyansın */
.alert {
    border-radius: 12px;
    padding: 12px 14px;
}

.alert-err {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #7f1d1d;
}

.alert-ok {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

/* KVKK onay alanı */
.kvkk {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    border: 1px dashed #e5e9f2;
    border-radius: 12px;
    background: #fcfdff;
}

.kvkk input[type="checkbox"] {
    transform: translateY(2px);
}

/* Butonlar: daha modern */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid #e6eaf3;
    background: #fff;
    color: #0f172a;
    font-weight: 600;
    letter-spacing: .2px;
    transition: transform .05s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, opacity .15s ease;
    cursor: pointer;
    user-select: none;
}

.btn:hover {
    border-color: #d7ddea;
    box-shadow: 0 6px 16px rgba(14, 30, 70, .08);
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(30, 77, 155, .18);
}

.btn-primary:hover {
    opacity: .95;
    box-shadow: 0 10px 26px rgba(30, 77, 155, .24);
}

.btn.btn-outline {
    background: #fff;
    color: var(--primary);
    border-color: #cfe0ff;
}

/* Formlar arası mesafe ve başlık */
.form-wrap .card+.card {
    margin-top: 24px;
}

/* Giriş/Üyelik başlık hizası */
h1 {
    font-size: clamp(22px, 3.2vw, 32px);
}

/* Footer üstünde nefes alan boşluk */
footer {
    margin-top: 40px;
}