/* HizmetX — Premium registration (extends giris.css tokens) */

body.gx-page--register {
    height: 100vh;
    overflow: hidden;
}

.gx-shell--register {
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}

.gx-hero--register {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    align-items: flex-start;
    padding-top: clamp(32px, 4vw, 48px);
}

.gx-main--register {
    align-items: flex-start;
    height: 100vh;
    max-height: 100vh;
    padding-top: clamp(20px, 3vw, 36px);
    padding-bottom: clamp(24px, 4vw, 40px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.gx-card--register {
    width: min(560px, 100%);
}

.gx-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    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-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 12px;
    font-weight: 700;
}

.gx-badge::before {
    content: "✦";
    font-size: 10px;
    color: #22c55e;
}

.gx-section {
    margin: 24px 0 16px;
    padding-top: 20px;
    border-top: 1px solid var(--gx-border);
}

.gx-section:first-of-type {
    margin-top: 8px;
    padding-top: 0;
    border-top: 0;
}

.gx-section__title {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--gx-text);
}

.gx-section__desc {
    margin: 0 0 14px;
    font-size: 12px;
    color: var(--gx-muted);
    line-height: 1.5;
}

.gx-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gx-field--req .gx-label::after {
    content: " *";
    color: var(--gx-danger);
    font-weight: 700;
}

.gx-formselect,
.formselect {
    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;
    appearance: auto;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gx-formselect:focus,
.formselect:focus {
    border-color: var(--gx-accent) !important;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14) !important;
}

.gx-alert--success {
    color: #15803d !important;
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
}

.gx-hero--register .gx-hero__copy h1 {
    font-size: clamp(26px, 2.8vw, 36px);
}

.gx-steps {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.gx-steps li {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 12px;
    align-items: start;
}

.gx-steps__num {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #fb923c;
}

.gx-steps__text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.gx-steps__text span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.45;
}

.gx-submit--register {
    margin-top: 20px !important;
}

.is-busy {
    opacity: 0.7;
    cursor: progress !important;
    pointer-events: none;
}

button.is-busy {
    cursor: progress !important;
}

.gx-login-link {
    margin: 18px 0 0;
    text-align: center;
    font-size: 13px;
    color: var(--gx-muted);
}

.gx-login-link a {
    color: var(--gx-text);
    font-weight: 700;
    text-decoration: none;
}

.gx-login-link a:hover {
    color: var(--gx-accent);
}

@media (max-width: 960px) {
    body.gx-page--register {
        height: auto;
        overflow: auto;
    }

    .gx-shell--register {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .gx-hero--register {
        position: static;
        height: auto;
        max-height: none;
        padding-bottom: 20px;
    }

    .gx-steps {
        display: none;
    }

    .gx-main--register {
        height: auto;
        max-height: none;
        overflow: visible;
        margin-top: -8px;
        padding-top: 0;
    }
}

@media (max-width: 520px) {
    .gx-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* === E-posta doğrulama adımı === */
.gx-input--code {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: .5em;
    padding-left: .5em;
}

.gx-alert--success {
    background: rgba(34, 197, 94, .1);
    border: 1px solid rgba(34, 197, 94, .35);
    color: #15803d;
    display: block;
}

/* === Premium başarı ekranı === */
.gx-success {
    text-align: center;
    padding: 18px 8px 8px;
    animation: gxSuccessIn .45s ease;
}

.gx-success__icon {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.gx-success__title {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #0f172a;
}

.gx-success__lead {
    color: #475569;
    line-height: 1.65;
    margin: 0 auto 18px;
    max-width: 420px;
}

.gx-success__list {
    list-style: none;
    padding: 0;
    margin: 0 auto 24px;
    max-width: 420px;
    text-align: left;
}

.gx-success__list li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: #334155;
    border-bottom: 1px solid #eef2f7;
}

.gx-success__list li:last-child {
    border-bottom: 0;
}

.gx-success__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: #22c55e;
    font-weight: 800;
}

@keyframes gxSuccessIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
