body {
    background: url('../Pup/Forgit.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Inter', sans-serif;
    justify-content: center;
    display: flex;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.forgot-password-container { 
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    width: 100%;    
    max-width: 400px;
    text-align: center;
    margin: 0 auto;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.forgot-password-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #800000;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.instruction-text {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.input-group {
    margin-bottom: 25px;
    position: relative;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: #800000;
    font-size: 1.1rem;
    z-index: 2;
}

.modern-input {
    width: 100%;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #333;
    padding: 15px 15px 15px 45px;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.modern-input:focus {
    outline: none;
    border-color: #800000;
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.15);
    background: #fff;
}

.modern-input::placeholder {
    color: #adb5bd;
    transition: opacity 0.3s ease;
}

.modern-input:focus::placeholder {
    opacity: 0.7;
}

.validation-feedback {
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
    color: #dc3545;
    text-align: left;
    padding-left: 5px;
}

.btn-reset {
    width: 100%;
    background: #800000;
    border: none;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(128, 0, 0, 0.2);
}

.btn-reset:hover {
    background: #9a0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(128, 0, 0, 0.25);
}

.btn-reset:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(128, 0, 0, 0.2);
}

.back-to-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
    color: #800000;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-to-login:hover {
    color: #9a0000;
    transform: translateX(-3px);
}

.footer {
    position: fixed;
    font-family: "Inter", sans-serif;
    background-color: #800000;
    color: #fff;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* Animation for input validation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.input-error {
    animation: shake 0.5s ease-in-out;
    border-color: #dc3545 !important;
}