:root {
    --primary-color: #002f2a;
    --button-color: Green;
    --button-hover-color: #fbbd09;
    --background-color: white;
    --text-color: white;
    --border-radius: 0.25rem; /* Adjusted for better readability */
}

/* Full-width input fields */
input[type='text'],
input[type='password'] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-radius: var(--border-radius);
}

/* Set a style for all buttons */
/*
button {
    background-color: var(--button-color);
    color: var(--text-color);
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: var(--border-radius);
}

button:hover {
    opacity: 0.8;
}
    */

/* Extra styles for the cancel button */
.btn-cancel {
    background-color: grey;
    color: var(--text-color);
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: var(--border-radius);
}

/* Center the image and position the close button */
.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

.container {
    padding: 30px;
}

span.psw {
    float: right;
    padding-top: 16px;
}

.modal-login {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
    -webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

/* Modal Content/Box */
.modal-content-login {
    background-color: var(--background-color);
    border: 1px solid #888;
    width: 50%; /* Could be more or less, depending on screen size */
    margin: auto;
    border-radius: 0.25rem;
}

#frm-login {
    width: 20%;
    float: right;
}

#create_account {
    display: none;
}

/* Change styles for span and cancel button on tablets */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    #item2 {
        margin-top: var(--top-nav-height);
    }

    #frm-login {
        width: 50%;
        float: right;
    }

    #create_account {
        display: none;
    }
}
@media only screen and (min-width: 1025px) and (max-width: 1599px) {
    #frm-login {
        width: 33%;
        float: right;
    }
}
/* Change styles for span and cancel button on phones */
@media screen and (max-width: 767px) {
    span.psw {
        display: block;
        float: none;
    }

    .btn-cancel {
        width: 100%;
    }

    #frm-login {
        width: 100%;
    }

    #create_account {
        display: none;
    }

    .modal-content-login {
        width: 100%;
    }
}
