body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
}

.background {
    background: linear-gradient(135deg, #2c3e50, #000d1a);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.forgot-password-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    width: 350px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.forgot-password-container h1 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
}

.forgot-password-container p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.input-group input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: #ffffff;
    font-size: 14px;
}

.submit-btn {
    background: linear-gradient(90deg, #ff4e00, #a500d6);
    border: none;
    color: #ffffff;
    font-weight: bold;
    border-radius: 25px;
    padding: 10px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(90deg, #ff6900, #9000cc);
    transform: scale(1.05);
}

.back-to-login {
    margin-top: 20px;
    font-size: 12px;
    color: #ffffff;
}

.back-to-login a {
    color: #ff6900;
    text-decoration: none;
}

/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: rgba(44, 62, 80, 0.95); /* Dark translucent background */
    color: #ffffff;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    width: 350px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-size: 16px;
}

.modal-content h2 {
    color: rgba(44, 62, 80, 0.95); /* Orange title */
    margin-bottom: 10px;
    font-size: 20px;
}

.modal-content p {
    color: rgba(255, 255, 255, 0.8); /* Lighter white for message */
    margin-bottom: 20px;
    line-height: 1.5;
}

.modal-content button {
    background: linear-gradient(90deg, #ff4e00, #a500d6); /* Signup button gradient */
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-content button:hover {
    background: linear-gradient(90deg, #ff6900, #9000cc);
    transform: scale(1.05);
}

.modal.error .modal-content {
    background: rgba(139, 0, 0, 0.95); /* Dark red background for error */
    border: 2px solid rgba(44, 62, 80, 0.95); /* Orange border */
}

.modal.error h2 {
    color: rgba(44, 62, 80, 0.95); /* Orange title */
}

.modal.error p {
    color: #ffffff; /* White for message */
}

/* Warning Styling */
.modal.warning .modal-content {
    background: rgba(44, 62, 80, 0.95); /* Orange background for warnings */
    border: 2px solid rgba(44, 62, 80, 0.95); /* Orange border */
}

.modal.warning h2 {
    color: rgba(44, 62, 80, 0.95); /* Orange title */
}

.modal.warning p {
    color: #ffffff; /* White message text */
}

/* Success Styling */
.modal.success .modal-content {
    background: rgba(44, 62, 80, 0.95); /* Green background for success */
    border: 2px solid rgba(44, 62, 80, 0.95); /* Green border */
}

.modal.success h2 {
    color: #2ecc71; /* Green title */
}

.modal.success p {
    color: #ffffff; /* White message text */
}
