@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

body.hold-transition.login-page.admin-giris-modern {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
    background: linear-gradient(160deg, #f0fdfa 0%, #f8fafc 45%, #eef2ff 100%) !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.admin-giris-modern .login-box,
.admin-giris-modern .register-box {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 0;
}

.admin-giris-modern .login-logo a,
.admin-giris-modern .register-logo a {
    color: #0f172a !important;
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
}

.admin-giris-modern .login-box-body,
.admin-giris-modern .register-box-body {
    background: #fff !important;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
    padding: 2rem !important;
}

.admin-giris-modern .form-control {
    height: 48px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 0.9375rem !important;
    background: #f8fafc !important;
}

.admin-giris-modern .form-control:focus {
    border-color: rgba(13, 148, 136, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12) !important;
    background: #fff !important;
}

.admin-giris-modern .input-group-addon {
    border-radius: 12px 0 0 12px !important;
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #0f766e;
}

.admin-giris-modern .btn-primary,
.admin-giris-modern .btn-success {
    background: linear-gradient(135deg, #0f766e, #14b8a6) !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    padding: 0.75rem 1rem !important;
    height: 48px;
    letter-spacing: 0.02em;
}

.admin-giris-modern .btn-primary:hover,
.admin-giris-modern .btn-success:hover {
    filter: brightness(1.05);
}

/* ── Şifre sıfırlama ── */
.ag-reset-page {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 1rem 0;
}

.ag-reset-shell {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    padding: clamp(1.75rem, 4vw, 2.5rem);
}

.ag-reset-shell--narrow {
    max-width: 460px;
    margin: 0 auto;
}

.ag-reset-head {
    text-align: center;
    margin-bottom: 2rem;
}

.ag-reset-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(13, 148, 136, 0.1);
    color: #0f766e;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.ag-reset-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.ag-reset-sub {
    margin: 0 auto;
    max-width: 520px;
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.65;
}

.ag-reset-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.ag-reset-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.ag-reset-card:hover {
    border-color: rgba(13, 148, 136, 0.25);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
    transform: translateY(-2px);
}

.ag-reset-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.ag-reset-card__icon--sms {
    background: rgba(13, 148, 136, 0.12);
    color: #0f766e;
}

.ag-reset-card__icon--mail {
    background: rgba(99, 102, 241, 0.12);
    color: #4f46e5;
}

.ag-reset-card__title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.ag-reset-card__hint {
    margin: 0 0 1.1rem;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.55;
    flex: 1;
}

.ag-field {
    display: flex;
    align-items: stretch;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ag-field:focus-within {
    border-color: rgba(13, 148, 136, 0.45);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.ag-field__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
    background: #f1f5f9;
    color: #0f766e;
    border-right: 1px solid #e2e8f0;
}

.ag-field__input {
    flex: 1;
    height: 48px !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 1rem !important;
    font-size: 0.9375rem !important;
}

.ag-field__input:focus {
    box-shadow: none !important;
}

.ag-field__input--code {
    letter-spacing: 0.15em;
    font-weight: 600;
    text-align: center;
}

.ag-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.ag-btn--dark {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #fff !important;
}

.ag-btn--dark:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    color: #fff !important;
}

.ag-btn--primary {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff !important;
    margin-bottom: 0.65rem;
}

.ag-btn--primary:hover {
    filter: brightness(1.05);
    color: #fff !important;
}

.ag-btn--ghost {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155 !important;
}

.ag-btn--ghost:hover {
    background: rgba(13, 148, 136, 0.06);
    border-color: rgba(13, 148, 136, 0.25);
    color: #0f766e !important;
}

.ag-verify-card {
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.ag-reset-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eef2f7;
}

.ag-reset-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #64748b !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.ag-reset-link:hover {
    color: #0f766e !important;
}

.ag-reset-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbd5e1;
}

.ag-reset-version {
    margin: 1.25rem 0 0;
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
}

.admin-giris-modern .alert {
    border-radius: 12px;
    border: none;
    font-size: 0.875rem;
}

@media (max-width: 767px) {
    body.hold-transition.login-page.admin-giris-modern {
        align-items: flex-start;
        padding-top: 1.25rem;
    }

    .ag-reset-grid {
        grid-template-columns: 1fr;
    }

    .ag-reset-shell {
        padding: 1.35rem;
        border-radius: 18px;
    }
}
