/* HizmetX — Premium login */
:root {
    --gx-bg: #f8fafc;
    --gx-surface: #ffffff;
    --gx-text: #0f172a;
    --gx-muted: #64748b;
    --gx-border: #e2e8f0;
    --gx-accent: #f97316;
    --gx-accent-2: #4f46e5;
    --gx-hero: #030712;
    --gx-hero-2: #0f172a;
    --gx-danger: #dc2626;
    --gx-radius: 16px;
    --gx-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body.gx-page {
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    font-size: 15px;
    color: var(--gx-text);
    background: var(--gx-bg);
    -webkit-font-smoothing: antialiased;
}

.gx-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
}

/* ── Hero panel ── */
.gx-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--gx-hero) 0%, var(--gx-hero-2) 55%, #1e1b4b 100%);
    color: #fff;
    padding: 48px clamp(32px, 5vw, 72px);
    display: flex;
    align-items: center;
}

.gx-hero__mesh {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.35) 0, transparent 42%),
        radial-gradient(circle at 80% 10%, rgba(99, 102, 241, 0.35) 0, transparent 38%),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: auto, auto, 48px 48px, 48px 48px;
    pointer-events: none;
}

.gx-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.gx-hero__glow--1 {
    width: 320px;
    height: 320px;
    top: -80px;
    right: -40px;
    background: rgba(249, 115, 22, 0.28);
}

.gx-hero__glow--2 {
    width: 280px;
    height: 280px;
    bottom: -60px;
    left: -40px;
    background: rgba(99, 102, 241, 0.25);
}

.gx-hero__content {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.gx-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 48px;
}

.gx-brand__mark,
.gx-brand__mark svg {
    width: 44px;
    height: 44px;
    display: block;
}

.gx-brand__name {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
}

.gx-brand__name span {
    background: linear-gradient(135deg, #fb923c, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.gx-hero__eyebrow {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.gx-hero__copy h1 {
    margin: 0 0 16px;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.gx-hero__lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    max-width: 440px;
}

.gx-hero__features {
    list-style: none;
    margin: 36px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.gx-hero__features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
}

.gx-hero__feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #fb923c;
    flex-shrink: 0;
}

/* ── Form panel ── */
.gx-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 4vw, 48px);
    background:
        radial-gradient(circle at 100% 0%, rgba(249, 115, 22, 0.06) 0, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(99, 102, 241, 0.06) 0, transparent 38%),
        var(--gx-bg);
}

.gx-card {
    width: min(440px, 100%);
    background: var(--gx-surface);
    border: 1px solid var(--gx-border);
    border-radius: var(--gx-radius);
    box-shadow: var(--gx-shadow);
    padding: clamp(28px, 4vw, 40px);
}

.gx-card__head {
    margin-bottom: 24px;
}

.gx-card__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gx-muted);
    margin-bottom: 8px;
}

.gx-card__head h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--gx-text);
}

.gx-card__head p {
    margin: 0;
    font-size: 14px;
    color: var(--gx-muted);
    line-height: 1.5;
}

.gx-field {
    margin-bottom: 16px;
}

.gx-field__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.gx-field__row .gx-label {
    margin-bottom: 0;
}

.gx-forgot-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--gx-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.gx-forgot-link:hover {
    color: var(--gx-accent);
}

.gx-card--forgot .gx-back {
    margin-bottom: 18px;
}

.gx-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gx-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.gx-back:hover {
    color: var(--gx-accent);
}

.gx-alert--success {
    color: #15803d !important;
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
}

.gx-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}

.gx-input,
.loginimp {
    width: 100% !important;
    min-height: 46px;
    padding: 11px 14px !important;
    border: 1px solid var(--gx-border) !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 14px !important;
    font-weight: 500;
    color: var(--gx-text);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gx-input:focus,
.loginimp:focus {
    border-color: var(--gx-accent) !important;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14) !important;
}

.gx-input::placeholder,
.loginimp::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.gx-captcha {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: stretch;
}

.gx-captcha__img {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 6px 10px;
    border: 1px solid var(--gx-border);
    border-radius: 10px;
    background: #f8fafc;
    overflow: hidden;
}

.gx-captcha__image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.gx-captcha__input {
    min-width: 0;
}

.gx-submit,
.loginButton {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 48px;
    margin: 8px 0 0 !important;
    padding: 12px 20px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 55%, #4f46e5 140%) !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.gx-submit:hover,
.loginButton:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(249, 115, 22, 0.32);
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 55%, #6366f1 140%) !important;
}

.gx-submit:active,
.loginButton:active {
    transform: translateY(0);
}

.loginButton.is-busy,
.gx-submit.is-busy {
    opacity: 0.75;
    cursor: progress !important;
    pointer-events: none;
    transform: none !important;
    filter: none !important;
}

.gx-signup {
    margin: 22px 0 0;
    text-align: center;
    font-size: 13px;
    color: var(--gx-muted);
    line-height: 1.6;
}

.gx-signup a {
    display: inline-block;
    margin-top: 4px;
    color: var(--gx-text);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.gx-signup a:hover {
    color: var(--gx-accent);
    border-bottom-color: rgba(249, 115, 22, 0.35);
}

.girisSonuc,
.gx-alert {
    min-height: 0;
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: var(--gx-danger);
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.girisSonuc:empty,
.gx-alert:empty {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
}

.girisSonuc img {
    vertical-align: middle;
}

/* Legacy helpers kept for JS compatibility */
.cbot {
    clear: both;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .gx-shell {
        grid-template-columns: 1fr;
    }

    .gx-hero {
        padding: 32px 24px 28px;
        min-height: auto;
    }

    .gx-brand {
        margin-bottom: 24px;
    }

    .gx-hero__copy h1 {
        font-size: 26px;
    }

    .gx-hero__features {
        display: none;
    }

    .gx-main {
        padding: 0 20px 32px;
        margin-top: -12px;
    }

    .gx-card {
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    }
}

@media (max-width: 480px) {
    .gx-captcha {
        grid-template-columns: 1fr;
    }

    .gx-captcha__img {
        min-height: 52px;
    }
}
