
.reset-container {
    background-color: #061726;
    width: 90%;
    max-width: 600px;     
    min-height: 375px;
    padding: 20px;  
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 2px 2px 10px #fff8c6;
    text-align: left;
    margin: 70px auto 0 auto;
    font-size: 1.5rem;
    position: relative;
    border-radius: 10px; 
    font-family: "Georgia", serif;
    color:#fff8c6;
}
.reset-container p{
    font-size: 20px;
}
.reset-container a {
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 20px;
    text-align: left;
    width: fit-content;
    color:#fff8c6;
}


.reset-container input {
    width: 95%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.1rem;
        background-color: #858c91;
    color: #fff8c6;
    font-family: "Georgia", serif;
}

.reset-container span {
    margin-bottom: 15px;
    font-size: 1rem;
    color: red;
    display: block;
    
}

.reset-btn {
    background-color:#fff8c6;
    color: #061726;
    padding: 12px;
    width: 60%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px auto 0 auto;
    border-radius: 5px;
    font-family: "Georgia", serif;
    transition: all 0.3s ease;
    font-weight: bold;
}

button.reset-btn:hover {
    background-color: rgb(137, 50, 50);
    transform: scale(1.05);
}

.return {
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    top: 10px;
    left: 10px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    color: #3b2a1a;
    border-bottom: 2px solid transparent; /* start invisible */
}

.return:hover {
    border-bottom: 2px solid #fff8c6; /* appears smoothly */
}

.success {
    color: green !important;
    font-size: 0.8rem !important;
    margin-bottom: 15px;
    display: block;
}
.error {
    color: red;
    font-size: 0.8rem;
    margin-bottom: 15px;
    display: block;
}

@media (max-width: 1024px) {
    .reset-container {
        padding: 15px;
        font-size: 1.3rem;
    }

    .reset-btn {
        width: 70%;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .reset-container {
        min-height: 320px;
        padding: 12px;
        font-size: 1.2rem;
        margin-top: -7px;
    }

    .reset-btn {
        width: 80%;
        font-size: 1rem;
    }

    .return {
        font-size: 0.8rem;
        top: 5px;
        left: 5px;
    }
}

@media (max-width: 480px) {
    .reset-container {
        min-height: 300px;
        padding: 10px;
        font-size: 1rem;
    }

    .reset-btn {
        width: 90%;
        font-size: 0.95rem;
    }

    .return {
        font-size: 0.75rem;
    }

    .reset-container p {
        font-size: 0.95rem;
    }
}