/* Giriş ve kayıt (Account) sayfalarının ortak stili. */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: #EEF4F7;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    touch-action: manipulation;
    min-height: 100vh;
    min-height: 100dvh;
}

a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

body::-webkit-scrollbar {
    display: none;
}

.lgnForm {
    min-height: 100vh;
    min-height: 100dvh;
}

.lgnCon {
    position: relative;
    display: flex;
    width: calc(100% - 10px);
    min-height: calc(100vh - 10px);
    min-height: calc(100dvh - 10px);
    margin: 5px;
    border-radius: 30px;
    overflow: hidden;
}

.lgnLf {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100%;
    background-color: #fff;
}

.lgnLfCnt {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    padding: 55px;
    box-sizing: border-box;
}

.lgnLfBs {
    font-size: 20px;
    color: #000;
    font-weight: 600;
    text-align: center;
}

.lgnLfDwBs {
    margin: 15px 0 40px 0;
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
    color: #9f9f9f;
}

.txtItm {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 15px;
}

/* iOS/WebView: 16px altı input odaklanınca zoom yapar */
.txt {
    height: 52px;
    padding: 0 20px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.25;
    color: #434343;
    border: 1px solid #D9DFE1;
    border-radius: 100vw;
    background: #F0F7F9;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #e60000;
}

::placeholder {
    color: #C4CDCF;
    font-size: 16px;
}

.rtn {
    font-size: 14px;
    color: #e60000;
    width: 100%;
    margin-bottom: 8px;
}

.btn {
    width: 100%;
    height: 52px;
    margin-top: 10px;
    border: 1px solid #e60000;
    border-radius: 100vw;
    background-color: #e60000;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn:active {
    opacity: 0.9;
    transform: scale(0.99);
}

.smTx {
    margin: 25px 0 20px 0;
    font-size: 14px;
    text-align: center;
    color: #9f9f9f;
}

.smTx a {
    font-size: 14px;
    text-align: center;
    color: #9f9f9f;
}

.smCon {
    display: flex;
}

.sm {
    width: 44px;
    height: 44px;
    margin: 0 5px;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #D9DFE1;
    border-radius: 100vw;
}

.sm img {
    width: 100%;
}

.lgnRg {
    width: 100%;
    min-height: 100%;
    background: #e60000 url("/images/red.svg") no-repeat center center;
    background-size: cover;
}

.lgnRgCl {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100%;
    background-color: rgb(230, 0, 0, .6);
}

.lgnRgCnt {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    padding: 55px;
    box-sizing: border-box;
}

.lgnRgLg {
    margin-bottom: 10px;
    max-width: 250px;
    width: 70%;
}

.lgnRgTx {
    font-size: 15px;
    text-align: center;
    line-height: 1.5;
    color: #ffffff;
}

@media (max-width: 900px) {
    .lgnCon {
        width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        margin: 0;
        border-radius: 0;
    }

    .lgnLf {
        align-items: stretch;
        padding:
            max(24px, env(safe-area-inset-top))
            max(20px, env(safe-area-inset-right))
            max(24px, env(safe-area-inset-bottom))
            max(20px, env(safe-area-inset-left));
        box-sizing: border-box;
    }

    .lgnLfCnt {
        padding: 28px 8px 16px;
        max-width: 420px;
        margin: 0 auto;
        justify-content: center;
        flex: 1;
    }

    .lgnLfBs {
        font-size: 22px;
    }

    .lgnLfDwBs {
        margin: 12px 0 28px;
        font-size: 14px;
    }

    .lgnRg {
        display: none;
    }
}

@media (max-width: 380px) {
    .lgnLfCnt {
        padding-top: 16px;
    }

    .lgnLfBs {
        font-size: 20px;
    }
}

/* Kayıt sayfası (Register) */
.regForm {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.txtRow {
    display: flex;
    gap: 10px;
    width: 100%;
}

.txtRow .txtItm {
    flex: 1;
    min-width: 0;
}

.fldEr {
    margin: 6px 0 0 20px;
    font-size: 13px;
    color: #e60000;
}

.fldEr:empty {
    display: none;
}

.chk {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    margin: 4px 0 6px;
    font-size: 14px;
    line-height: 1.5;
    color: #6b6b6b;
    cursor: pointer;
}

.chk input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex-shrink: 0;
    accent-color: #e60000;
}

.chk a,
.smTx a.lnk {
    color: #e60000;
    font-weight: 600;
}

.lgnRgSteps {
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: 340px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.lgnRgSteps li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .16);
    font-size: 15px;
    color: #fff;
}

.lgnRgSteps b {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    font-size: 14px;
    color: #e60000;
}

@media (max-width: 480px) {
    .txtRow {
        flex-direction: column;
        gap: 0;
    }
}

.txt.input-validation-error {
    border-color: #e60000;
}
