body {
    font-family: Arial, sans-serif;
    background-color: #f4f8fc;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}
.container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
}
.image-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}
.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.login-title {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 20px;
}
.input-group {
    text-align: left;
    margin-bottom: 15px;
}
.input-group label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}
.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.password-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0px;
/*    width: 100%;*/
/*    box-sizing: border-box;*/
}

.password-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px;
    font-size: 16px;
}

.password-wrapper i {
    cursor: pointer;
    padding: 10px;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    margin-left: 20px;
}
.login-btn {
    background-color: #007bff;
    color: white;
    padding: 12px;
    width: 100%;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-right: 15px;
}
.login-btn:hover {
    background-color: #0056b3;
}
.back-to-login, .forgot-password {
    margin-top: 10px;
    text-align: center;
}
.back-to-login a, .forgot-password a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}
.back-to-login a:hover, .forgot-password a:hover {
    text-decoration: underline;
}

/* ✅ Common Alert Box */
.message-box {
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    max-width: 80%;
    margin: 10px auto;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}

/* ✅ Error Message */
.message-box.error {
    background-color: rgba(255, 228, 228, 0.9);
    color: #d8000c;
    border: 1px solid #d8000c;
    box-shadow: 0px 0px 10px rgba(216, 0, 12, 0.2);
}

/* ✅ Success Message */
.message-box.success {
    background-color: rgba(228, 255, 228, 0.9);
    color: #008000;
    border: 1px solid #008000;
    box-shadow: 0px 0px 10px rgba(0, 128, 0, 0.2);
}

/* ✅ Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ✅ Common Notification Styling */
.notification-box {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 80%;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.5s ease-in-out, fadeOut 0.5s ease-out 4.5s forwards;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

/* ✅ Forgot Password Error (Extends .notification-box) */
.forgot-error {
    background-color: #ff4444;
    color: white;
    border: 1px solid #ff2222;
}

/* ✅ Forgot Password Success (Extends .notification-box) */
.success-box {
    background-color: #28a745;
    color: white;
    border: 1px solid #218838;
}

/* ✅ Fade-out animation (Auto-dismiss) */
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* ✅ Slide-down animation */
@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* ✅ Icons */
.notification-box i {
    font-size: 18px;
    color: white;
}

/* Error Message */
.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    display: none; /* Initially hidden */
}

