﻿/* Şifremi Unuttum ekranı (Views/Forgot/Index.cshtml)
   Arka plan login ekranıyla aynı (signInGridLayout.css > body). */

.su-sayfa {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 48px 16px;
    box-sizing: border-box;
}

.su-kart {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    padding: 24px 24px 16px 24px;
    color: #1c2b5a;
}

.su-logo {
    display: block;
    max-width: 220px;
    margin: 0 auto 8px auto;
}

.su-baslik {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 16px 0;
    color: #1A5592;
}

/* Adım göstergesi */
.su-adimlar {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    counter-reset: none;
}

    .su-adimlar li {
        flex: 1;
        text-align: center;
        font-size: 11px;
        color: #8a94a6;
        position: relative;
    }

        .su-adimlar li span {
            display: block;
            width: 28px;
            height: 28px;
            line-height: 28px;
            margin: 0 auto 4px auto;
            border-radius: 50%;
            background: #e4e8f0;
            color: #8a94a6;
            font-weight: 600;
            font-size: 13px;
        }

        .su-adimlar li.aktif {
            color: #1A5592;
            font-weight: 600;
        }

            .su-adimlar li.aktif span {
                background: #1A5592;
                color: #fff;
            }

        .su-adimlar li.tamam span {
            background: #28a745;
            color: #fff;
        }

.su-aciklama {
    font-size: 13px;
    color: #4a5568;
    margin-bottom: 16px;
}

.su-kart label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.su-kart .form-text {
    font-size: 11px;
    color: #718096;
}

/* İkonlu girdi */
.su-girdi {
    position: relative;
}

    .su-girdi > i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #8a94a6;
        pointer-events: none;
    }

    .su-girdi .form-control {
        padding-left: 36px;
    }

.su-kart .form-control {
    height: 42px;
    border-radius: 10px;
}

.su-goster {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #8a94a6;
    padding: 4px 8px;
    cursor: pointer;
}

.su-girdi .su-sifre {
    padding-right: 40px;
}

/* SMS kodu */
.su-kod {
    text-align: center;
    font-size: 22px !important;
    letter-spacing: 8px;
    font-weight: 600;
}

.su-sayac b {
    color: #1A5592;
}

    .su-sayac b.bitti {
        color: #dc3545;
    }

/* Şifre kuralları */
.su-kurallar {
    list-style: none;
    padding: 0;
    margin: 0 0 4px 0;
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
}

    .su-kurallar li {
        width: 50%;
        color: #a0aec0;
        padding: 2px 0;
    }

        .su-kurallar li::before {
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            content: "\f111";
            font-size: 7px;
            vertical-align: middle;
            margin-right: 6px;
        }

        .su-kurallar li.uygun {
            color: #28a745;
        }

            .su-kurallar li.uygun::before {
                content: "\f00c";
                font-size: 10px;
            }

.su-buton {
    height: 44px;
    border-radius: 10px;
    margin-top: 16px;
    font-weight: 600;
}

.su-tekrar {
    font-size: 13px;
}

.su-tamam {
    text-align: center;
    padding: 8px 0;
}

    .su-tamam > i {
        font-size: 56px;
        color: #28a745;
        margin-bottom: 8px;
    }

    .su-tamam h2 {
        font-size: 20px;
        font-weight: 600;
    }

    .su-tamam p {
        font-size: 13px;
        color: #4a5568;
    }

.su-alt {
    text-align: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #edf0f5;
    font-size: 13px;
}

    .su-alt a {
        color: #1A5592;
    }

.su-telif {
    margin-top: 16px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

#suMesaj {
    font-size: 13px;
    border-radius: 10px;
}

/* ------------------------------------------------------------------
   Guest layout'taki eski login CSS'leri (signinLogoUstte.css,
   responsivemobilesignin.css) tüm input[type=password] ve .alert-danger
   öğelerini global olarak biçimlendiriyor. Bu sayfada etkisizleştiriyoruz.
   ------------------------------------------------------------------ */
.su-kart input.form-control {
    width: 100% !important;
    max-width: none !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 6px 12px 6px 36px !important;
    border: 1px solid #ced4da !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    background-color: #fff !important;
    color: #1c2b5a !important;
    font-size: 15px !important;
    text-align: left !important;
    -webkit-appearance: none;
}

    .su-kart input.form-control:focus {
        border-color: #1A5592 !important;
        box-shadow: 0 0 0 3px rgba(26, 85, 146, 0.2) !important;
    }

.su-kart input.su-kod {
    padding: 6px 12px !important;
    text-align: center !important;
    font-size: 22px !important;
}

.su-kart input.su-sifre {
    padding-right: 40px !important;
}

.su-kart #suMesaj.alert {
    width: 100% !important;
    height: auto !important;
    line-height: 1.4;
    font-size: 13px !important;
    font-weight: 500;
    box-shadow: none !important;
    border-radius: 10px;
    text-align: left !important;
    position: static;
    margin: 0 0 12px 0;
}

.su-kart #suMesaj.alert-danger {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}

.su-kart .su-kurallar,
.su-kart .su-kurallar li,
.su-kart .su-aciklama,
.su-kart label,
.su-kart .form-text,
.su-kart #suMesaj {
    text-align: left !important;
}

.su-kart .su-kurallar {
    justify-content: flex-start !important;
}

/* ------------------------------------------------------------------
   Giriş ekranı (Views/Login/index.cshtml) ekleri
   ------------------------------------------------------------------ */
.su-captcha {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

    .su-captcha #recaptca {
        transform: none !important;
        margin: 0 !important;
    }

.su-kart #btnLogin {
    width: 100% !important;
    height: 44px !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    font-size: 16px !important;
    color: #fff !important;
    background-color: #1A5592 !important;
    border: 1px solid #1A5592 !important;
}

    .su-kart #btnLogin:hover {
        background-color: #154677 !important;
    }

    .su-kart #btnLogin:disabled {
        opacity: 0.75;
    }

.su-kart #LoginErrorContainer.alert {
    width: 100% !important;
    height: auto !important;
    line-height: 1.4;
    font-size: 13px !important;
    font-weight: 500;
    box-shadow: none !important;
    border-radius: 10px;
    text-align: left !important;
    margin: 0 0 12px 0;
}

.su-kart #LoginErrorContainer.alert-danger {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}

.su-alt a + a {
    margin-left: 12px;
}
