*{
margin:0;
padding:0;
box-sizing:border-box;
}

html,body{
width:100%;
height:100%;
font-family:"Segoe UI",Arial,sans-serif;
background:#f5f8fc;
overflow:hidden;
color:#1f2937;
}

.window{
width:100%;
height:100%;
display:flex;
flex-direction:column;
background:#fff;
}

/* ÜST BAR */
.titlebar{
height:46px;
display:flex;
align-items:center;
justify-content:space-between;
padding:0 16px;
border-bottom:1px solid #e5e7eb;
background:#f8fbff;
}

.brand{
display:flex;
align-items:center;
gap:10px;
font-size:18px;
font-weight:500;
}

.brand-logo{
width:24px;
height:24px;
border-radius:6px;
object-fit:cover;
}

.controls{
display:flex;
gap:24px;
font-size:22px;
color:#111827;
}

/* ANA */
.login-wrap{
flex:1;
display:grid;
grid-template-columns:1fr 1fr;
min-height:0;
}

/* SOL */
.left{
background:linear-gradient(160deg,#0078f2,#00b2ff);
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
padding:40px;
color:#fff;
text-align:center;
}

.main-logo{
width:82px;
height:82px;
border-radius:24px;
object-fit:cover;
margin-bottom:26px;
box-shadow:0 10px 30px rgba(0,0,0,.18);
}

.left h1{
font-size:34px;
font-weight:700;
margin-bottom:14px;
}

.left p{
font-size:18px;
line-height:1.55;
max-width:520px;
opacity:.95;
}

/* SAĞ */
.right{
position:relative;
display:flex;
flex-direction:column;
align-items:center;
justify-content:flex-start;
padding:42px 80px 110px;
background:#fff;
overflow:hidden;
}

.form-logo{
width:72px;
height:72px;
border-radius:22px;
object-fit:cover;
margin-bottom:18px;
box-shadow:0 8px 20px rgba(0,0,0,.10);
}

.right h2{
font-size:34px;
font-weight:700;
margin-bottom:10px;
}

.subtitle{
font-size:17px;
color:#6b7280;
margin-bottom:34px;
text-align:center;
}

/* FORM */
form{
width:100%;
max-width:500px;
}

input{
width:100%;
height:52px;
border:none;
border-bottom:2px solid #d7deea;
outline:none;
font-size:16px;
padding:0 8px;
margin-bottom:18px;
background:transparent;
}

input:focus{
border-bottom-color:#0a6cff;
}

.password-row{
position:relative;
}

.password-row button{
position:absolute;
right:0;
top:8px;
width:38px;
height:38px;
border:none;
background:none;
cursor:pointer;
font-size:22px;
color:#64748b;
}

.forgot{
text-align:right;
margin:-2px 0 22px;
}

.forgot a{
color:#0a6cff;
text-decoration:none;
font-size:15px;
}

.primary{
width:100%;
height:52px;
border:none;
border-radius:30px;
background:linear-gradient(90deg,#0078f2,#1d9bf0);
color:#fff;
font-size:18px;
font-weight:700;
cursor:pointer;
}

/* DURUM */
.message{
min-height:20px;
margin-top:12px;
font-size:15px;
font-weight:600;
text-align:center;
color:#0a6cff;
}

/* AYIRICI */
.divider{
width:100%;
max-width:500px;
display:flex;
align-items:center;
gap:14px;
margin:18px 0;
color:#6b7280;
font-size:16px;
}

.divider:before,
.divider:after{
content:"";
flex:1;
height:1px;
background:#dbe2ee;
}

/* MICROSOFT */
.ms-login{
width:100%;
max-width:500px;
height:50px;
border:1px solid #d8dfeb;
background:#fff;
border-radius:28px;
font-size:16px;
font-weight:600;
cursor:pointer;
}

.ms-box{
display:inline-block;
width:16px;
height:16px;
margin-right:10px;
vertical-align:-2px;
background:conic-gradient(#7fba00 0 25%,#ffb900 0 50%,#f25022 0 75%,#00a4ef 0);
}

/* SWITCH */
.switch{
margin-top:16px;
font-size:15px;
color:#6b7280;
}

.switch button{
border:none;
background:none;
color:#0a6cff;
cursor:pointer;
font-size:15px;
margin-left:4px;
}

/* FOOTER */
.footer{
position:absolute;
left:60px;
right:60px;
bottom:18px;
display:flex;
justify-content:space-between;
font-size:14px;
color:#6b7280;
}

.footer div{
display:flex;
gap:22px;
}

/* RESPONSIVE */
@media(max-width:980px){
.login-wrap{
grid-template-columns:1fr;
}

.left{
display:none;
}

.right{
padding:34px 26px 90px;
}

.footer{
left:26px;
right:26px;
}
}

@media(max-height:760px){
.form-logo{
width:60px;
height:60px;
margin-bottom:10px;
}

.right h2{
font-size:30px;
}

.subtitle{
margin-bottom:20px;
font-size:15px;
}

input{
height:46px;
margin-bottom:14px;
}

.primary{
height:48px;
}

.ms-login{
height:46px;
}

.footer{
bottom:10px;
}
}