/* =====================================
Selvi Crackers V2 - Change Password CSS
OTP Verification & Password Reset
===================================== */

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

body{
font-family:Arial, Helvetica, sans-serif;
background:linear-gradient(135deg,#7f0000,#b71c1c,#d32f2f);
min-height:100vh;
display:flex;
justify-content:center;
align-items:center;
padding:20px;
}

/* Container */
.change-container{
width:100%;
display:flex;
justify-content:center;
align-items:center;
}

/* Card */
.change-card{
width:100%;
max-width:430px;
background:rgba(255,255,255,.98);
border-radius:24px;
padding:35px 28px;
box-shadow:0 15px 35px rgba(0,0,0,.25);
backdrop-filter:blur(12px);
}

/* Logo */
.logo-section{
text-align:center;
margin-bottom:28px;
}

.logo{
width:90px;
height:90px;
border-radius:50%;
object-fit:cover;
margin-bottom:15px;
box-shadow:0 8px 20px rgba(183,28,28,.25);
}

.logo-section h1{
color:#b71c1c;
font-size:28px;
margin-bottom:8px;
}

.logo-section p{
color:#666;
font-size:15px;
}

/* Message Box */
.message-box{
display:none;
padding:12px;
border-radius:10px;
margin-bottom:20px;
font-size:14px;
font-weight:600;
}

.message-box.success{
background:#e8f5e9;
color:#2e7d32;
border-left:4px solid #2e7d32;
}

.message-box.error{
background:#ffebee;
color:#c62828;
border-left:4px solid #c62828;
}

/* Form */
.input-group{
margin-bottom:20px;
}

.input-group label{
display:block;
margin-bottom:8px;
font-weight:600;
color:#333;
}

.input-box{
position:relative;
}

.input-box i{
position:absolute;
left:15px;
top:50%;
transform:translateY(-50%);
color:#b71c1c;
}

.input-box input{
width:100%;
padding:14px 48px;
border:1px solid #ddd;
border-radius:12px;
font-size:16px;
outline:none;
transition:.3s;
}

.input-box input:focus{
border-color:#b71c1c;
box-shadow:0 0 0 3px rgba(183,28,28,.12);
}

/* OTP Input */
#otp{
text-align:center;
letter-spacing:8px;
font-size:20px;
font-weight:bold;
}

/* Buttons */
.otp-btn,
.change-btn{
width:100%;
padding:15px;
border:none;
border-radius:12px;
background:#b71c1c;
color:#fff;
font-size:16px;
font-weight:bold;
cursor:pointer;
display:flex;
justify-content:center;
align-items:center;
gap:10px;
transition:.3s;
}

.otp-btn:hover,
.change-btn:hover{
background:#8e0000;
}

.otp-btn.loading,
.change-btn.loading{
background:#888;
cursor:not-allowed;
}

/* Resend */
.resend-box{
display:flex;
justify-content:space-between;
align-items:center;
margin-top:15px;
}

.resend-btn{
border:none;
background:none;
color:#b71c1c;
font-weight:600;
cursor:pointer;
font-size:14px;
}

.resend-btn:hover{
text-decoration:underline;
}

#timer{
color:#666;
font-weight:600;
}

/* Footer */
.footer-links{
text-align:center;
margin-top:25px;
}

.back-login{
color:#b71c1c;
text-decoration:none;
font-weight:600;
display:inline-flex;
align-items:center;
gap:6px;
transition:.3s;
}

.back-login:hover{
color:#8e0000;
}

/* Responsive */
@media (max-width:480px){

.change-card{
    padding:28px 22px;
}

.logo{
    width:80px;
    height:80px;
}

.logo-section h1{
    font-size:24px;
}

.input-box input{
    padding:13px 46px;
}

#otp{
    font-size:18px;
    letter-spacing:6px;
}

}