:root {
    --frm-giris-bg: #0b1220;
    --frm-giris-surface: rgba(255, 255, 255, 0.08);
    --frm-giris-border: rgba(255, 255, 255, 0.16);
    --frm-giris-text: #f4f7fb;
    --frm-giris-muted: #c5d0de;
    --frm-giris-line: rgba(255, 255, 255, 0.55);
    --frm-giris-accent: #e6392f;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.frm_giris-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    color: var(--frm-giris-text);
    background: var(--frm-giris-bg);
}

.frm_giris-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 18% 70%, rgba(255, 255, 255, 0.08), transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 20%, rgba(230, 57, 47, 0.16), transparent 55%),
        linear-gradient(160deg, #121826 0%, #1b2433 45%, #0d121c 100%);
    z-index: 0;
}

.frm_giris-logolar {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
    padding-right: min(28vw, 22rem);
    font-size: clamp(2.8rem, 7vw, 7.5rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.95;
}

.frm_giris-yazi {
    display: flex;
    align-items: baseline;
    gap: 0.28em;
    margin: 0;
    white-space: nowrap;
}

.frm_giris-yazi-sol {
    display: inline-block;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    animation: frm-giris-soldan 1.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.frm_giris-yazi-sag {
    display: inline-block;
    color: #ff4d42;
    text-shadow: 0 18px 48px rgba(120, 16, 12, 0.32);
    animation: frm-giris-sagdan 1.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes frm-giris-soldan {
    from {
        transform: translate3d(-110vw, 0, 0);
        opacity: 0;
    }
    55% {
        opacity: 1;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes frm-giris-sagdan {
    from {
        transform: translate3d(110vw, 0, 0);
        opacity: 0;
    }
    55% {
        opacity: 1;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .frm_giris-yazi-sol,
    .frm_giris-yazi-sag {
        animation: none;
    }
}

.frm_giris-sahne {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem 4rem;
}

.frm_giris-kart {
    width: min(420px, 100%);
    padding: 2.2rem 2rem 1.6rem;
    border-radius: 28px;
    border: 1px solid var(--frm-giris-border);
    background: rgba(88, 96, 110, 0.38);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.frm_giris-logo {
    display: block;
    height: 46px;
    width: auto;
    margin: 0 auto 1.1rem;
}

.frm_giris-kart h1 {
    margin: 0 0 1.6rem;
    text-align: center;
    font-size: 1.85rem;
    font-weight: 650;
}

.frm_giris-alert {
    margin: 0 0 1rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    background: rgba(230, 57, 47, 0.16);
    border: 1px solid rgba(230, 57, 47, 0.35);
    color: #ffd0cb;
    font-size: 0.9rem;
}

.frm_giris-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.frm_giris-alan > span:first-child {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.frm_giris-girdi {
    position: relative;
    display: block;
}

.frm_giris-girdi input {
    width: 100%;
    padding: 0.55rem 2rem 0.55rem 0;
    border: 0;
    border-bottom: 1px solid var(--frm-giris-line);
    border-radius: 0;
    background: transparent;
    color: var(--frm-giris-text);
    font: inherit;
    font-size: 1rem;
}

.frm_giris-girdi input:focus {
    outline: none;
    border-bottom-color: #fff;
}

.frm_giris-girdi svg {
    position: absolute;
    right: 0;
    top: 0.45rem;
    width: 18px;
    height: 18px;
    color: var(--frm-giris-muted);
}

.frm_giris-field-error {
    display: block;
    min-height: 1rem;
    margin-top: 0.3rem;
    color: #ffb4ae;
    font-size: 0.78rem;
}

.frm_giris-alt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: -0.2rem;
    font-size: 0.92rem;
}

.frm_giris-goster {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.frm_giris-goster input {
    width: 0.95rem;
    height: 0.95rem;
    accent-color: #fff;
}

.frm_giris-alt a,
.frm_giris-basvuru-ac {
    color: #fff;
    font-weight: 650;
    text-decoration: none;
}

.frm_giris-basvuru-ac {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
}

.frm_giris-alt a:hover,
.frm_giris-basvuru-ac:hover {
    color: #ffd0cb;
}

.frm_giris-submit {
    margin-top: 0.35rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #1a1a1a;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 750;
    cursor: pointer;
}

.frm_giris-submit:hover {
    background: #f3f3f3;
}

.frm_giris-basvuru {
    margin: 1.35rem 0 0;
    text-align: center;
    color: var(--frm-giris-muted);
    line-height: 1.55;
}

.frm_giris-footer {
    position: fixed;
    bottom: 1rem;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    z-index: 1;
}

.frm_giris-modal {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(6, 10, 18, 0.62);
}

.frm_giris-modal[hidden] {
    display: none;
}

.frm_giris-modal-kart {
    position: relative;
    width: min(560px, 100%);
    max-height: min(92vh, 760px);
    overflow: auto;
    padding: 1.6rem 1.4rem 1.3rem;
    border-radius: 22px;
    border: 1px solid var(--frm-giris-border);
    background: rgba(27, 36, 51, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.frm_giris-modal-kart h2 {
    margin: 0 2rem 0.35rem 0;
    font-size: 1.35rem;
}

.frm_giris-modal-aciklama {
    margin: 0 0 1rem;
    color: var(--frm-giris-muted);
    font-size: 0.92rem;
}

.frm_giris-modal-kapat {
    position: absolute;
    top: 0.7rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.frm_giris-modal-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.frm_giris-modal-form label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.86rem;
    color: var(--frm-giris-muted);
}

.frm_giris-modal-form input,
.frm_giris-modal-form textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font: inherit;
}

.frm_giris-modal-form input:focus,
.frm_giris-modal-form textarea:focus {
    outline: none;
    border-color: #fff;
}

.frm_giris-modal-iki {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.frm_giris-modal-sonuc {
    margin: 0;
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
    background: rgba(230, 57, 47, 0.16);
    border: 1px solid rgba(230, 57, 47, 0.35);
    color: #ffd0cb;
    font-size: 0.9rem;
}

.frm_giris-modal-sonuc--ok {
    background: rgba(16, 185, 129, 0.16);
    border-color: rgba(16, 185, 129, 0.4);
    color: #d1fae5;
}

body.frm_giris-modal-acik {
    overflow: hidden;
}

@media (min-width: 960px) {
    .frm_giris-sahne {
        justify-content: flex-end;
        padding-right: max(4rem, 8vw);
    }
}

@media (max-width: 520px) {
    .frm_giris-kart {
        padding: 1.6rem 1.15rem 1.3rem;
    }

    .frm_giris-alt {
        align-items: flex-start;
        flex-direction: column;
    }

    .frm_giris-modal-iki {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 959px) {
    .frm_giris-logolar {
        align-items: flex-start;
        justify-content: center;
        padding: 8vh 1rem 0;
        font-size: clamp(2.1rem, 11vw, 3.4rem);
        opacity: 0.72;
    }
}
