@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(90deg, rgb(255, 210, 104), rgb(255, 204, 83));
    overflow: hidden;
}

/* --- Animated Background (Copied from your original CSS) --- */
.background-squares {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: -1;
}

.background-squares li {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.966);
    border-radius: 20%;
    bottom: -150px;
    animation: animateSquares 25s linear infinite;
}

.background-squares li:nth-child(1) { left: 25%; width: 60px; height: 60px; animation-delay: 0s; }
.background-squares li:nth-child(2) { left: 10%; width: 70px; height: 70px; animation-delay: 2s; animation-duration: 12s; }
.background-squares li:nth-child(3) { left: 70%; width: 40px; height: 40px; animation-delay: 4s; }
.background-squares li:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 18s; }
.background-squares li:nth-child(5) { left: 65%; width: 25px; height: 25px; animation-delay: 0s; }
.background-squares li:nth-child(6) { left: 75%; width: 110px; height: 110px; animation-delay: 3s; }
.background-squares li:nth-child(7) { left: 35%; width: 50px; height: 50px; animation-delay: 7s; }
.background-squares li:nth-child(8) { left: 50%; width: 35px; height: 35px; animation-delay: 15s; animation-duration: 45s; }
.background-squares li:nth-child(9) { left: 20%; width: 55px; height: 55px; animation-delay: 2s; animation-duration: 35s; }
.background-squares li:nth-child(10) { left: 85%; width: 130px; height: 130px; animation-delay: 0s; animation-duration: 11s; }
.background-squares li:nth-child(11) { left: 15%; width: 85px; height: 85px; animation-delay: 6s; animation-duration: 28s; }
.background-squares li:nth-child(12) { left: 55%; width: 70px; height: 70px; animation-delay: 8s; }
.background-squares li:nth-child(13) { left: 90%; width: 50px; height: 50px; animation-delay: 1s; animation-duration: 14s; }
.background-squares li:nth-child(14) { left: 5%; width: 90px; height: 90px; animation-delay: 10s; }
.background-squares li:nth-child(15) { left: 45%; width: 20px; height: 20px; animation-delay: 12s; animation-duration: 22s; }

@keyframes animateSquares {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; border-radius: 20%; }
    100% { transform: translateY(-120vh) rotate(720deg); opacity: 0; border-radius: 50%; }
}

/* --- Container and Form Styles --- */
.container {
    width: 450px;
    height: auto;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    padding: 50px;
}

.form-box-forgot {
    width: 100%;
    text-align: center;
}

.form-box-forgot h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.form-box-forgot .info-text {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 30px;
}

.input-box {
    position: relative;
    margin: 30px 0;
}

.input-box input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    border-radius: 8px;
    background-color: #eee;
    color: #333;
    font-weight: 500;
}

.input-box input::placeholder {
    color: #888;
    font-weight: 400;
}

.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 20px;
}

.btn {
    width: 100%;
    height: 48px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: white;
    font-weight: 600;
    background: linear-gradient(90deg,
        rgb(255, 190, 37),
        rgb(255, 232, 80),
        rgb(255, 190, 37));
}

.back-link {
    margin-top: 25px;
}

.back-link a {
    color: #333;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
}

.back-link a:hover {
    text-decoration: underline;
}

/* --- Responsive Design --- */
@media screen and (max-width: 500px) {
    .container {
        width: 90%;
        padding: 40px 30px;
    }

    .form-box-forgot h1 {
        font-size: 30px;
    }

    .form-box-forgot .info-text {
        font-size: 14px;
    }
}