/**
 * ==========================================================
 * Project      : Alamin Online Academy
 * Module       : Forgot Password
 * File         : forgot-password.css
 * Version      : 8.0.0 Master
 * ==========================================================
 */

body{
    min-height:100vh;
    font-family:"Inter","Segoe UI",sans-serif;
    color:#fff;
    background:
        linear-gradient(135deg,rgba(15,23,42,.60),rgba(37,99,235,.25),rgba(2,6,23,.42)),
        url("../../images/backgrounds/login-bg.jpg") center/cover fixed no-repeat;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    background:linear-gradient(135deg,rgba(15,23,42,.35),rgba(37,99,235,.12),rgba(2,6,23,.25));
    z-index:-1;
}

.forgot-wrapper{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px 16px;
}

.forgot-container{width:100%;max-width:470px}

.forgot-card{
    padding:34px;
    border-radius:28px;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.25);
    backdrop-filter:blur(22px);
    -webkit-backdrop-filter:blur(22px);
    box-shadow:0 25px 70px rgba(0,0,0,.30);
}

.brand{text-align:center;margin-bottom:24px}

.brand-badge{
    display:flex;
    justify-content:space-between;
    gap:10px;
    margin-bottom:18px;
}

.version-badge,.network-badge{
    padding:6px 14px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
    color:#fff;
}

.version-badge{background:#2563eb}
.network-badge{background:#16a34a}

.logo-box{
    width:100px;
    height:100px;
    margin:auto;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.20);
}

.brand-logo{
    width:70px;
    height:70px;
    object-fit:contain;
}

.brand h1{
    margin-top:18px;
    font-size:28px;
    font-weight:750;
}

.brand h3{
    margin-top:8px;
    font-size:18px;
    color:#bfdbfe;
}

.forgot-header{
    text-align:center;
    margin-bottom:28px;
}

.forgot-badge{
    display:inline-block;
    padding:6px 16px;
    border-radius:30px;
    background:#2563eb;
    font-size:12px;
    font-weight:700;
}

.forgot-header h2{
    margin-top:14px;
    font-size:30px;
    font-weight:750;
}

.forgot-header p{
    margin-top:10px;
    color:rgba(255,255,255,.85);
    line-height:1.7;
}

.form-group{margin-bottom:18px}

.form-group label{
    display:block;
    margin-bottom:8px;
    color:#fff;
    font-size:14px;
    font-weight:650;
}

.input-group{
    display:flex;
    align-items:center;
    min-height:56px;
    border-radius:16px;
    overflow:hidden;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.20);
    transition:.25s;
}

.input-group:focus-within{
    border-color:#60a5fa;
    background:rgba(255,255,255,.15);
    box-shadow:0 0 0 4px rgba(96,165,250,.15);
}

.input-group.error{border-color:#f87171}
.input-group.success{border-color:#4ade80}

.input-icon{
    width:52px;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:18px;
}

.input-group input{
    flex:1;
    height:56px;
    border:none;
    outline:none;
    background:transparent;
    color:#fff;
    font-size:15px;
    padding-right:16px;
}

.input-group input::placeholder{
    color:rgba(255,255,255,.65);
}

.field-error{
    display:block;
    min-height:18px;
    margin-top:6px;
    color:#fecaca;
    font-size:13px;
}

.form-message{
    min-height:20px;
    margin:6px 0 8px;
    text-align:center;
    font-size:13px;
    line-height:1.6;
}

.form-message.success{color:#bbf7d0}
.form-message.error{color:#fecaca}
.form-message.info{color:#bfdbfe}

.reset-btn{
    width:100%;
    height:56px;
    margin-top:8px;
    border:none;
    border-radius:16px;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#fff;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.30s;
}

.reset-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 35px rgba(37,99,235,.35);
}

.reset-btn:disabled{
    opacity:.7;
    cursor:not-allowed;
    transform:none;
}

.divider{
    display:flex;
    align-items:center;
    gap:14px;
    margin:22px 0;
}

.divider::before,.divider::after{
    content:"";
    flex:1;
    height:1px;
    background:rgba(255,255,255,.18);
}

.divider span{
    color:rgba(255,255,255,.75);
    font-size:13px;
}

.login-link{text-align:center}

.login-link a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:54px;
    border-radius:16px;
    text-decoration:none;
    color:#fff;
    font-weight:650;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(255,255,255,.08);
    transition:.25s;
}

.login-link a:hover{background:rgba(255,255,255,.16)}

.help-links{
    margin-top:24px;
    display:grid;
    gap:12px;
}

.help-links a{
    display:flex;
    justify-content:center;
    align-items:center;
    height:50px;
    border-radius:14px;
    text-decoration:none;
    color:#fff;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.16);
    transition:.25s;
}

.help-links a:hover{background:rgba(37,99,235,.30)}

@media(max-width:768px){
    .forgot-card{padding:24px 18px}
    .brand h1{font-size:24px}
    .forgot-header h2{font-size:26px}
}

@media(max-width:480px){
    .forgot-card{padding:20px 16px;border-radius:22px}
    .logo-box{width:90px;height:90px}
    .brand-logo{width:60px;height:60px}
    .brand-badge{flex-direction:column;align-items:center}
}
