.at-kayit-adimlar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 4px 0 2px;
    padding: 0;
    list-style: none;
}

.at-kayit-adim {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 8px;
    color: var(--at-muted);
    font-size: 13.5px;
    font-weight: 600;
    text-align: center;
}

.at-kayit-adim + .at-kayit-adim::before {
    content: "";
    position: absolute;
    top: 21px;
    right: calc(50% + 28px);
    width: calc(100% - 56px);
    height: 3px;
    border-radius: 3px;
    background: var(--at-line-strong);
}

.at-kayit-adim__no {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--at-line-strong);
    border-radius: 50%;
    background: var(--at-surface);
    color: var(--at-muted);
    font-size: 16px;
    font-weight: 800;
    transition: background-color .2s var(--at-ease), border-color .2s var(--at-ease), color .2s var(--at-ease), box-shadow .2s var(--at-ease);
}

.at-kayit-adim.pk-aktif {
    color: var(--at-text);
}

.at-kayit-adim.pk-aktif .at-kayit-adim__no {
    border-color: transparent;
    background: var(--at-gradient);
    color: #fff;
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--at-primary) 16%, transparent);
}

.at-kayit-adim.pk-bitti .at-kayit-adim__no {
    border-color: var(--at-success);
    background: var(--at-success);
    color: #fff;
}

.at-kayit-adim.pk-bitti + .at-kayit-adim::before {
    background: var(--at-success);
}

.at-kayit__form {
    display: block;
}

.at-kayit-panel {
    display: grid;
    gap: 20px;
}

html:not(.at-js) .at-kayit-panel + .at-kayit-panel {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px dashed var(--at-line-strong);
}

html:not(.at-js) [data-kayit-ileri], html:not(.at-js) [data-kayit-geri] {
    display: none;
}

.at-js .at-kayit:not(:has(.pk-aktif:not([data-kayit-gosterge="1"]))) .at-kayit-panel:not([data-kayit-adim="1"]) {
    display: none;
}

fieldset.at-kayit-grup, .at-kayit-grup {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--at-line);
    border-radius: var(--at-radius);
    background: var(--at-surface-2);
}

fieldset.at-alan-grubu.at-kayit-grup > legend {
    float: left;
    width: 100%;
    margin: 0;
}

fieldset.at-alan-grubu.at-kayit-grup > legend + * {
    clear: both;
}

.at-kayit-grup__baslik {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--at-text);
}

.at-kayit-grup__baslik::before {
    content: "";
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: var(--at-primary);
}

.at-kayit-turler {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.at-kayit-tur {
    align-items: center;
    padding: 14px 16px;
}

.at-kayit-tur input {
    margin-top: 0;
}

.at-kayit-tur__ikon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: var(--at-soft);
    color: var(--at-muted);
}

.at-kayit-tur:has(input:checked) .at-kayit-tur__ikon {
    background: var(--at-gradient);
    color: #fff;
}

.at-kayit__not {
    color: var(--at-muted);
    font-weight: 500;
}

.at-kayit-tel {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 8px;
}

.at-kayit-guc-alan {
    display: grid;
    gap: 10px;
    justify-items: start;
}

.at-kayit-guc {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
}

.at-kayit-guc span {
    height: 6px;
    border-radius: 6px;
    background: var(--at-line-strong);
    transition: background-color .2s var(--at-ease);
}

.at-kayit-guc[data-seviye="1"] span:nth-child(-n+1) { background: var(--at-danger); }
.at-kayit-guc[data-seviye="2"] span:nth-child(-n+2) { background: var(--at-accent); }
.at-kayit-guc[data-seviye="3"] span:nth-child(-n+3) { background: var(--at-info); }
.at-kayit-guc[data-seviye="4"] span { background: var(--at-success); }

.at-kayit-kurallar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.at-kayit-kurallar li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border: 1px solid var(--at-line);
    border-radius: var(--at-radius-pill);
    background: var(--at-surface);
    color: var(--at-muted);
    font-size: 12.5px;
    font-weight: 600;
}

.at-kayit-kurallar li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--at-line-strong);
}

.at-kayit-kurallar li.pk-tamam {
    border-color: color-mix(in srgb, var(--at-success) 40%, transparent);
    color: var(--at-success);
}

.at-kayit-kurallar li.pk-tamam::before {
    background: var(--at-success);
}

.at-kayit-secimler {
    display: grid;
    gap: 10px;
}

.at-kayit-onay {
    padding: 14px 16px;
    border: 1px solid var(--at-line);
    border-radius: var(--at-radius);
    background: var(--at-surface);
}

.at-kayit-telefon__metin {
    margin: 0;
    color: var(--at-muted);
    font-size: 14px;
}

.at-kayit-telefon .pw-alert {
    margin: 0;
}

.at-kayit-gezinme {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 4px;
}

.at-kayit-gezinme > :only-child {
    margin-left: auto;
}

@media (max-width: 479px) {
    .at-kayit-adim__ad {
        font-size: 12px;
        line-height: 1.3;
    }

    fieldset.at-kayit-grup {
        padding: 14px;
    }

    .at-kayit-tur {
        padding: 12px;
        gap: 8px;
    }

    .at-kayit-gezinme .at-dugme {
        flex: 1 1 auto;
    }

    .at-kayit-tel {
        grid-template-columns: 100px minmax(0, 1fr);
    }
}
