*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}

body{
    background:#0b2c54;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.master-container{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.master-card{
    width:100%;
    max-width:430px;
    background:#fff;
    padding:35px;
    border-radius:12px;
    box-shadow:0 15px 40px rgba(0,0,0,.25);
}

.master-card h1{
    text-align:center;
    color:#0b2c54;
    margin-bottom:10px;
}

.sub-text{
    text-align:center;
    color:#666;
    margin-bottom:25px;
}

.alert{
    background:#fff3cd;
    color:#856404;
    border:1px solid #ffeeba;
    border-radius:6px;
    padding:12px;
    margin-bottom:20px;
    text-align:center;
}

.input-group{
    position:relative;
    margin-bottom:20px;
}

.input-group input{
    width:100%;
    padding:15px 50px 15px 15px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:16px;
    outline:none;
}

.input-group input:focus{
    border-color:#0b2c54;
}

.toggle-password{
    position:absolute;
    top:50%;
    right:15px;
    transform:translateY(-50%);
    cursor:pointer;
    font-size:20px;
    user-select:none;
}

.submit-btn{
    width:100%;
    padding:15px;
    background:#0b2c54;
    color:#fff;
    border:none;
    border-radius:6px;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
}

.submit-btn:hover{
    background:#164a86;
}

.back-btn{
    display:block;
    text-align:center;
    margin-top:20px;
    color:#0b2c54;
    font-weight:bold;
    text-decoration:none;
}

.back-btn:hover{
    text-decoration:underline;
}

@media(max-width:480px){

.master-card{
    padding:25px;
}

.master-card h1{
    font-size:26px;
}

.sub-text{
    font-size:14px;
}

.input-group input{
    padding:14px 45px 14px 14px;
}

.submit-btn{
    padding:14px;
}

}
/* RESPONSIVE SAFETY OVERRIDES */
*,*::before,*::after{box-sizing:border-box;}
img,video{max-width:100%;height:auto;}
.master-container{width:100%;padding-left:16px;padding-right:16px;}
.master-card{width:100%;max-width:430px;}
.input-group input{min-width:0;max-width:100%;}
@media(max-width:480px){
  .master-container{padding-left:10px;padding-right:10px;}
  .master-card{padding:20px;}
}

/* Responsive hero cover sizing */
.hero-cover, .hero-cover img, .hero img.cover, .hero-image img {
    max-width: 100%;
    height: auto;
}
@media (max-width: 768px) {
    .hero {
        min-height: 62vh;
        height: auto;
    }
    .hero-cover, .hero-cover img, .hero img.cover, .hero-image img {
        max-height: 62vh;
        object-fit: cover;
    }
}
@media (min-width: 769px) {
    .hero {
        min-height: 72vh;
    }
}
