/* =========================================================
   MOTO747 LOGIN PAGE
========================================================= */

:root {
    --moto-red: #e30613;
    --moto-red-dark: #a9000a;
    --moto-black: #08090b;
    --moto-dark: #111317;
    --moto-dark-soft: #191c21;
    --moto-border: rgba(255, 255, 255, 0.10);
    --moto-text: #ffffff;
    --moto-muted: #9da2aa;
}

.moto-login-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 70px 0;
    background: var(--moto-black);
    isolation: isolate;
}

.moto-login-background {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(
            90deg,
            rgba(5, 6, 8, 0.92) 0%,
            rgba(5, 6, 8, 0.78) 48%,
            rgba(5, 6, 8, 0.90) 100%
        ),
        url("/images/login/moto1.png") center center / cover no-repeat;
}

.moto-login-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 16% 20%,
            rgba(227, 6, 19, 0.28),
            transparent 34%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(227, 6, 19, 0.12),
            transparent 30%
        );
}

.moto-login-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 46px 46px;
}

.moto-login-wrapper {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--moto-border);
    border-radius: 28px;
    background: rgba(14, 16, 20, 0.90);
    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.moto-login-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 190px;
    height: 5px;
    z-index: 5;
    background: linear-gradient(
        90deg,
        var(--moto-red),
        transparent
    );
}

/* Sol alan */

.moto-login-info {
    position: relative;
    width: 100%;
    min-height: 670px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 65px 58px;
    color: var(--moto-text);
    background:
        linear-gradient(
            145deg,
            rgba(227, 6, 19, 0.15),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            #111318 0%,
            #090a0d 100%
        );
}

.moto-login-info::before {
    content: "747";
    position: absolute;
    right: -15px;
    bottom: -80px;
    font-size: 220px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -18px;
    color: rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

.moto-login-info::after {
    content: "";
    position: absolute;
    top: -130px;
    right: -130px;
    width: 330px;
    height: 330px;
    border: 60px solid rgba(227, 6, 19, 0.055);
    border-radius: 50%;
}

.moto-brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 54px;
}

.moto-brand-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 23px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--moto-red),
        var(--moto-red-dark)
    );
    box-shadow: 0 12px 30px rgba(227, 6, 19, 0.28);
}

.moto-brand strong {
    display: block;
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 1.5px;
}

.moto-brand span {
    display: block;
    margin-top: 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.4px;
    color: var(--moto-muted);
}

.moto-login-mini-title {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.2px;
    color: var(--moto-red);
}

.moto-login-mini-title::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--moto-red);
}

.moto-login-info h1 {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0 0 22px;
    font-size: clamp(42px, 4vw, 61px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -2.5px;
}

.moto-login-info h1 span {
    display: block;
    color: var(--moto-red);
}

.moto-login-info > p {
    position: relative;
    z-index: 2;
    max-width: 505px;
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
    color: #b8bcc3;
}

.moto-login-features {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 18px;
    margin-top: 40px;
}

.moto-login-feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.moto-login-feature-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(227, 6, 19, 0.25);
    border-radius: 13px;
    color: var(--moto-red);
    background: rgba(227, 6, 19, 0.07);
}

.moto-login-feature strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    color: #ffffff;
}

.moto-login-feature span {
    display: block;
    font-size: 12px;
    line-height: 1.55;
    color: #8e939b;
}

.moto-login-line {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 45px;
}

.moto-login-line span {
    width: 52px;
    height: 1px;
    background: var(--moto-red);
}

.moto-login-line strong {
    font-size: 9px;
    letter-spacing: 2.2px;
    color: #676c74;
}

/* Form alanı */

.moto-login-form-area {
    min-height: 670px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 65px 62px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.025),
            transparent
        ),
        rgba(16, 18, 22, 0.96);
}

.moto-login-form-header {
    margin-bottom: 34px;
}

.moto-login-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 23px;
    border: 1px solid rgba(227, 6, 19, 0.30);
    border-radius: 17px;
    font-size: 22px;
    color: var(--moto-red);
    background: rgba(227, 6, 19, 0.07);
}

.moto-login-small-text {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--moto-red);
}

.moto-login-form-header h2 {
    margin: 0 0 11px;
    font-size: 31px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #ffffff;
}

.moto-login-form-header p {
    max-width: 430px;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--moto-muted);
}

.moto-form-group {
    margin-bottom: 22px;
}

.moto-form-label {
    display: block;
    margin-bottom: 9px;
    font-size: 12px;
    font-weight: 700;
    color: #d9dce1;
}

.moto-input-wrapper {
    position: relative;
}

.moto-input-icon {
    position: absolute;
    top: 50%;
    left: 17px;
    z-index: 2;
    transform: translateY(-50%);
    color: #717680;
    transition: color 0.25s ease;
}

.moto-form-control {
    width: 100%;
    height: 56px;
    padding: 0 51px 0 49px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    outline: none;
    font-size: 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: none;
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.moto-form-control::placeholder {
    color: #666b73;
}

.moto-form-control:focus {
    color: #ffffff;
    border-color: rgba(227, 6, 19, 0.75);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.10);
}

.moto-input-wrapper:focus-within .moto-input-icon {
    color: var(--moto-red);
}

.moto-password-toggle {
    position: absolute;
    top: 50%;
    right: 16px;
    z-index: 3;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9px;
    transform: translateY(-50%);
    color: #777c84;
    background: transparent;
    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.moto-password-toggle:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.moto-field-validation {
    display: block;
    margin-top: 7px;
    font-size: 11px;
}

.moto-validation-summary {
    margin-bottom: 20px;
    font-size: 12px;
    color: #ff727b;
}

.moto-validation-summary ul {
    margin: 0;
    padding: 13px 16px 13px 33px;
    border: 1px solid rgba(227, 6, 19, 0.22);
    border-radius: 12px;
    background: rgba(227, 6, 19, 0.07);
}

.moto-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 5px 0 27px;
}

.moto-remember-check {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: auto;
    margin: 0;
}

.moto-remember-check .form-check-input {
    width: 17px;
    height: 17px;
    margin: 0;
    border: 1px solid #555b64;
    background-color: transparent;
    box-shadow: none;
}

.moto-remember-check .form-check-input:checked {
    border-color: var(--moto-red);
    background-color: var(--moto-red);
}

.moto-remember-check .form-check-label {
    font-size: 12px;
    color: #a5a9b0;
    cursor: pointer;
}

.moto-forgot-password {
    position: relative;
    font-size: 12px;
    font-weight: 700;
    color: #d2d5d9;
    text-decoration: none;
    transition: color 0.25s ease;
}

.moto-forgot-password:hover {
    color: var(--moto-red);
}

.moto-login-button {
    position: relative;
    width: 100%;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding: 0 8px 0 24px;
    border: 0;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--moto-red),
        #b9000b
    );
    box-shadow: 0 15px 35px rgba(227, 6, 19, 0.23);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.moto-login-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -110%;
    width: 80%;
    height: 100%;
    transform: skewX(-20deg);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.18),
        transparent
    );
    transition: left 0.55s ease;
}

.moto-login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(227, 6, 19, 0.32);
}

.moto-login-button:hover::before {
    left: 135%;
}

.moto-login-button span,
.moto-button-icon {
    position: relative;
    z-index: 2;
}

.moto-button-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease;
}

.moto-login-button:hover .moto-button-icon {
    transform: translateX(3px);
}

.moto-login-footer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 25px;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
}

.moto-login-footer i {
    margin-top: 2px;
    font-size: 13px;
    color: var(--moto-red);
}

.moto-login-footer span {
    font-size: 11px;
    line-height: 1.55;
    color: #81868e;
}

.moto-login-copyright {
    margin-top: 20px;
    text-align: center;
    font-size: 10px;
    color: #555a62;
}

.moto-mobile-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.moto-mobile-brand > i {
    width: 47px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #ffffff;
    background: var(--moto-red);
}

.moto-mobile-brand strong {
    display: block;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffffff;
}

.moto-mobile-brand span {
    display: block;
    margin-top: 4px;
    font-size: 9px;
    letter-spacing: 1.7px;
    color: #858a92;
}

/* Bootstrap otomatik beyaz arka plan düzeltmesi */

.moto-form-control:-webkit-autofill,
.moto-form-control:-webkit-autofill:hover,
.moto-form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    caret-color: #ffffff;
    transition: background-color 9999s ease-in-out 0s;
    box-shadow: 0 0 0 1000px #17191e inset;
}

/* Responsive */

@media (max-width: 1199.98px) {

    .moto-login-info {
        padding: 55px 42px;
    }

    .moto-login-form-area {
        padding: 55px 45px;
    }

    .moto-login-info h1 {
        font-size: 48px;
    }
}

@media (max-width: 991.98px) {

    .moto-login-section {
        padding: 35px 0;
    }

    .moto-login-wrapper {
        max-width: 620px;
        margin: 0 auto;
    }

    .moto-login-form-area {
        min-height: auto;
        padding: 48px;
    }
}

@media (max-width: 575.98px) {

    .moto-login-section {
        align-items: flex-start;
        padding: 18px 0;
    }

    .moto-login-wrapper {
        border-radius: 20px;
    }

    .moto-login-form-area {
        padding: 32px 22px;
    }

    .moto-login-form-header {
        margin-bottom: 28px;
    }

    .moto-login-form-header h2 {
        font-size: 26px;
    }

    .moto-login-icon {
        width: 52px;
        height: 52px;
    }

    .moto-login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .moto-form-control {
        height: 54px;
    }

    .moto-login-button {
        height: 56px;
    }
}