/* Style the login icon */
body .login-icon {
    cursor: pointer;
}

/* Overlay that covers the entire screen */
body .login-form-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: none; /* Initially hidden */
    z-index: 1000; /* Ensure the overlay is on top */
}

/* Popup Form Styling */
body .login-form-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the popup */
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    z-index: 1001; /* Ensure the form is on top of the overlay */
    width: 300px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Shadow for popup */
}

/* Style the tick icon */
html body .logged-in .tick-icon {
    color: green;
}

/* Style for Login Button */
body .login-form-popup input[type="submit"] {
    padding: 10px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    /* Colors for the login button are set inline via PHP */
}

/* Hover effect for the login button */
body .login-form-popup input[type="submit"]:hover {
    /* Hover color for the login button is set inline via PHP */
}

/* Style for Close Button */
body .login-form-popup .close-button {
    padding: 10px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    /* Colors for the close button are set inline via PHP */
}

/* Hover effect for the close button */
body .login-form-popup .close-button:hover {
    /* Hover color for the close button is set inline via PHP */
}

body .login-form-popup input[type="submit"],
body .login-form-popup .close-button {
    outline: none; /* Removes default outline */
    border: 2px solid #ffffff; /* Change this to match your border color option */
}

body .login-form-popup input[type="submit"]:focus,
body .login-form-popup .close-button:focus {
    border-color: #000000; /* Adjust color as needed */
    box-shadow: 0 0 3px #000000; /* Subtle shadow for focus */
}

.login-icon.logged-in {
    color: #008000 !important; /* Replace with the color from admin page */
}
