/* Slider Container Styling */
.slider-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    height: 100%;
    background: url('../image/mcq_login_slider.png') no-repeat center center;
    background-size: cover;
    transition: right 0.5s ease;
    padding: 20px;
    z-index: 1000;
}

/* When slider is active, it will slide into view */
.slider-container.active {
    right: 0;
}

/* Close button styling */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 28px;
    /* Increase the size of the button */
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
    /* Add smooth transition for hover effect */
}

.close-btn:hover {
    color: #ffcc00;
    /* Change to a yellowish color on hover */
}


.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 10px;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    border-bottom: 2px solid white;
}

.form-content {
    display: none;
    /* Hidden by default */
}

.form-content.active {
    display: block;
    /* Only the active form is displayed */
}

/* Form styling */
input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: none;
    background: #fff;
    font-size: 16px;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background-image: linear-gradient(to right, #49d292, #66e0a3);
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
    /* Add transition effects */
}

.submit-btn:hover {
    transform: scale(1.05);
    /* Scale effect on hover */
    background-color: #38b877;
    /* Slightly darker background on hover */
}

.centered-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center align the contents horizontally */
    text-align: center;
    /* Center text inside */
    margin-top: 20px;
    /* Add some margin on top */
}

.text {
    color: white;
    /* Main text color */
    font-size: 16px;
    /* Adjust font size as needed */
}

.forgot-link {
    color: #38b877;
    /* Green color for the links */
    text-decoration: none;
    /* Remove underline */
}

/* Ensure that the link color remains green in other states */
.forgot-link:link,
.forgot-link:visited,
.forgot-link:active {
    color: #38b877;
    /* Set the link color to green when it's not hovered */
}

/* Place :hover rule at the end to ensure it has precedence */
.forgot-link:hover {
    color: yellow;
    /* Change color on hover */
}

.forgot-password-container {
    margin-top: 5px;
    /* Add space between text and forgot password link */
}