:root{
    --fm-navy-900:#0b1830;
    --fm-navy-800:#0f2140;
    --fm-navy-700:#16305c;
    --fm-navy-600:#1e3f78;
    --fm-blue-accent:#3b82f6;
    --fm-blue-light:#60a5fa;
    --fm-text-light:#e7edf7;
    --fm-text-muted:#93a3bd;
}

*{box-sizing:border-box;}

html,body{
    height:100%;
    margin:0;
    font-family: Outfit, sans-serif;
    background:#fff;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus{
    -webkit-text-fill-color:#1a2233;
    -webkit-box-shadow:0 0 0px 1000px #f3f5f9 inset;
    transition:background-color 5000s ease-in-out 0s;
}

.fm2-wrapper{
    display:flex;
    min-height:100vh;
    width:100%;
}

/* SOL - FORM ALANI */
.fm2-left{
    flex:1 1 45%;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px;
    background:#ffffff;
}

.fm2-page-logo{
    position:absolute;
    top:20px;
    left:64px;
}
.fm2-page-logo img{
    height:45px;
    display:block;
}

.fm2-form-box{
    width:100%;
    max-width:480px;
}

.fm2-welcome{
    font-size:28px;
    font-weight:600;
    color:#111a2e;
    margin-bottom:28px;
    text-align: center;
}

.fm2-label{
    display:block;
    font-size:14px;
    font-weight:600;
    color:#4a5670;
    margin-bottom:8px;
}

.fm2-input-group{
    margin-bottom:20px;
}

.fm2-input-wrap{
    position:relative;
}

.fm2-input{
    width:100%;
    height:50px;
    padding:12px 14px 12px 42px;
    border:1px solid #dde3ee;
    border-radius:0.8rem;
    font-size:14px;
    color:#1a2233;
    background:#f8f9fc;
    outline:none;
    transition:border-color .15s, box-shadow .15s;
}
.fm2-input:focus{
    border-color:var(--fm-blue-accent);
    box-shadow:0 0 0 3px rgba(59,130,246,.12);
    background:#fff;
}

.fm2-input-icon{
    position:absolute;
    left:14px;
    top:50%;
    transform:translateY(-50%);
    color:#a3adc2;
    font-size:15px;
}

.fm2-toggle-pass{
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    color:#a3adc2;
    cursor:pointer;
    font-size:15px;
    background:none;
    border:none;
}

.fm2-row-between{
    display:flex;
    justify-content:flex-end;
    margin-bottom:24px;
}

.fm2-forgot{
    font-size:13px;
    color:var(--fm-blue-accent);
    text-decoration:none;
    font-weight:600;
}
.fm2-forgot:hover{ text-decoration:underline; }

.fm2-btn-submit{
    width:100%;
    padding:15px;
    border:none;
    border-radius: .8rem;
    background:linear-gradient(135deg,var(--fm-blue-accent),#60a5fa,#234687);
    color:#fff;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:opacity .15s;
}
.fm2-btn-submit:hover{ opacity:.92; }

.fm2-alert{
    background:#fdecec;
    border:1px solid #f5b8b8;
    color:#a12525;
    font-size:13px;
    padding:12px 14px;
    border-radius:8px;
    margin-bottom:20px;
    position:relative;
}
.fm2-alert strong{ font-weight:700; }
.fm2-alert-close{
    position:absolute;
    right:10px;
    top:10px;
    background:none;
    border:none;
    color:#a12525;
    cursor:pointer;
    font-size:14px;
}

/* SAĞ - SLIDER ALANI */
.fm2-right{
    flex:1 1 55%;
    position:relative;
    background: linear-gradient(90deg in oklch,
    #ffffff 0%,
    var(--fm-blue-light) 28%,
    var(--fm-blue-accent) 42%,
    #2b58a7 74%,
    #234687 100%); 
    overflow:hidden;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.fm2-pattern{
    position:absolute;
    inset:0;
    z-index:0;
    opacity:.5;
    background-image: radial-gradient(rgba(255,255,255,.06) 1.5px, transparent 1.5px);
    background-size:26px 26px;
    pointer-events:none;
}

.fm2-slider{
    position:relative;
    z-index:2;
    width:100%;
    max-width:900px;
    margin:0 auto;
    padding:0 20px;
}

.fm2-slide{
    display:none;
    text-align:center;
    animation:fm2fade .5s ease;
}
.fm2-slide.active{ display:block; }

@keyframes fm2fade{
    from{ opacity:0; transform:translateY(8px); }
    to{ opacity:1; transform:translateY(0); }
}

.fm2-slide-icon{
    width:76px;
    height:76px;
    margin:0 auto 24px;
    border-radius:20px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    color:var(--fm-blue-light);
}

.fm2-slide-title{
    font-size:22px;
    font-weight:700;
    color:var(--fm-text-light);
    margin-bottom:12px;
}

.fm2-slide-desc{
    font-size:14px;
    line-height:1.6;
    color:#ffffff;
}

.fm2-dots{
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:36px;
    position:relative;
    z-index:2;
}

.fm2-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:rgba(255,255,255,.25);
    cursor:pointer;
    transition:background .2s, width .2s;
}
.fm2-dot.active{
    background:var(--fm-blue-light);
    width:22px;
    border-radius:4px;
}

.fm2-right-brand{
    position:absolute;
    top:36px;
    left:40px;
    z-index:2;
    display:flex;
    justify-content:flex-start;
}
.fm2-right-brand img{
    height:26px;
}

@media (max-width:900px){
    .fm2-wrapper{ flex-direction:column; }
    .fm2-left{
        flex-direction:column;
        padding:32px 24px;
    }
    .fm2-right{ min-height:280px; padding:24px; }
    .fm2-page-logo{
        position:static;
        margin-bottom:24px;
    }
    .fm2-slider{ max-width:100%; padding:0; }
    .fm2-slide-img{ max-height:45vh; }
    .fm2-dots{ margin-top:16px; }
}

.fm2-logo-initials{
    width:75px;
    height:75px;
    border-radius:12px;
    background:linear-gradient(135deg,var(--fm-blue-accent),var(--fm-navy-700));
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    font-weight:700;
}

.fm2-btn-secondary{
    width:100%;
    padding:12px;
    border:1px solid #dde3ee;
    border-radius:0.8rem;
    background:#fff;
    color:#4a5670;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    display:block;
    text-align:center;
    cursor:pointer;
    transition:border-color .15s, color .15s;
}

.fm2-slide-img {
    width: 100%;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.fm2-apply-wrap{
    text-align:center;
    margin-top:20px;
    position:relative;
    z-index:2;
}
.fm2-apply-btn{
    display:inline-block;
    padding:10px 22px;
    border-radius:.8rem;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.35);
    color:#fff;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    backdrop-filter:blur(4px);
    transition:background .15s;
}
.fm2-apply-btn:hover{
    background:rgba(255,255,255,.22);
}