*{margin:0;padding:0;box-sizing:border-box}

body{
font-family:'Montserrat',sans-serif;
min-height:100vh;
display:flex;
align-items:center;
justify-content:center;
background:url("../res/bpsu.jpg") center/cover no-repeat;
position:relative;
overflow-x:hidden;
padding:20px 0;
}

body::before{
content:'';
position:absolute;
inset:0;
background:rgba(0,0,0,0.6);
z-index:0;
}

body::after{
content:'';
position:fixed;
width:400px;
height:400px;
background:rgba(255,255,255,0.1);
border-radius:50%;
bottom:-120px;
right:-100px;
filter:blur(80px);
z-index:0;
}

.container{
width:900px;
max-width:92%;
height:520px;
display:flex;
border-radius:20px;
overflow:hidden;
backdrop-filter:blur(20px);
background:rgba(255,255,255,0.08);
box-shadow:0 25px 60px rgba(0,0,0,0.3);
border:1px solid rgba(255,255,255,0.2);
position:relative;
z-index:1;
}

.left{
flex:1;
position:relative;
overflow:hidden;
display:flex;
align-items:center;
justify-content:center;
}

.left img.bg{
width:100%;
height:100%;
object-fit:cover;
position:absolute;
top:0;
left:0;
}

.logo{
position:relative;
z-index:1;
width:140px;
}

.left::after{
content:'';
position:absolute;
inset:0;
background:rgba(0,0,0,0.4);
}

.left h2{
position:absolute;
bottom:20px;
left:20px;
color:#fff;
font-weight:600;
font-size:16px;
z-index:1;
white-space:nowrap;
}

.right{
flex:1;
width:100%;
background:rgba(255,255,255,0.95);
padding:30px 40px;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
box-sizing:border-box;
}
.right p{
    font-size: 13px;
}
.right form{      
  width:100%;
  max-width:400px;
}
.right form .input-group,
.right form .options,
.right form .btn,
.right form .note{
  max-width:100%;
}

.title{
margin-bottom:10px;
width:100%;
max-width:400px;
text-align:left;
}
.title h1{
font-size:40px;
font-weight:700;
line-height:1;
}

.title span{
color:#000;
font-size:30px;
font-weight:500;
display:block;
margin-bottom:4px;
}

.title strong{
color:#800000;
font-size:36px;
}

.input-group{
margin-bottom:16px;
width:100%;
max-width:400px;
}

.input-group:first-of-type{
margin-top:10px;
}

.input-group label{
font-size:12px;
margin-bottom:5px;
display:block;
color:#333;
}

.input-wrapper{
display:flex;
align-items:center;
border:1px solid #800000;
border-radius:25px;
padding:0 16px;
background:#fff;
transition:.3s;
}

.input-wrapper:focus-within{
border-color:#600000;
box-shadow:0 0 0 2px rgba(128,0,0,0.15);
}

.input-wrapper img{
width:18px;
margin-right:10px;
filter:invert(12%) sepia(80%) saturate(2000%) hue-rotate(340deg) brightness(80%) contrast(90%);
}

.input-wrapper input{
border:none;
outline:none;
flex:1;
padding:12px 0;
font-size:14px;
background:transparent;
}
.options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 18px;
    color: #555;
    width: 100%;
    max-width: 400px;
    flex-wrap: wrap;
    gap: 8px;
}

.show-password {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.options input[type="checkbox"] {
    accent-color: #800000;
    cursor: pointer;
}

.forgot-password {
    color: #555;
    font-size: 13px;
    text-decoration: none;
}
.forgot-password.visited {
    color: #555;
    font-size: 13px;
    text-decoration: none;
}

.forgot-password:hover {
    color: #800000;
}
.btn{
width:100%;
max-width:400px;
padding:12px;
background:linear-gradient(to bottom,#800000,#000000);
border:none;
border-radius:25px;
color:#fff;
font-size:15px;
cursor:pointer;
transition:.3s;
box-shadow:0 10px 20px rgba(128,0,0,0.3);
}

.btn:hover{
transform:translateY(-2px);
box-shadow:0 15px 25px rgba(128,0,0,0.4);
}
.back-signin {
    display: block;
    position: relative;
    bottom: -2%;
    width: 99%;
    margin: 10px auto 0;
    text-align: center;
    font-weight: 600;
    color: rgba(128,0,0,1);
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 1.4px;
    transition: .3s;
}

.back-signin:hover {
    color: red;
}

.note{
margin-top:18px;
background:#f3e3e3;
padding:12px;
border-radius:10px;
font-size:12px;
color:#5a1a1a;
width:100%;
max-width:400px;
text-align:left;
}

@media(max-width:900px){
.container{
flex-direction:column;
height:auto;
width:90%;
max-width:520px;
}

.left{
height:200px;
}

.left h2{
font-size:14px;
white-space:normal;
}

.logo{
width:100px;
}
}

@media(max-width:600px){
body{
padding:12px 0;
}

.container{
width:100%;
max-width:100%;
border-radius:14px;
}

.left{
height:160px;
}

.left h2{
bottom:12px;
left:12px;
font-size:13px;
}

.logo{
width:80px;
}

.right{
padding:28px 22px;
}

.title h1{
font-size:28px;
}

.title span{
font-size:22px;
margin-bottom:2px;
}

.title strong{
font-size:26px;
}

.input-wrapper input{
font-size:16px;
padding:11px 0;
}

.options{
font-size:11px;
}

.btn{
padding:13px;
font-size:14px;
}

.note{
font-size:11.5px;
}
}

@media(max-width:360px){
.left{
height:130px;
}

.right{
padding:24px 16px;
}

.title h1{
font-size:24px;
}
}