@import "/assets/css/general.css";

/*----------------------------------------------------------------------------*/
/* USER LIST */
/*----------------------------------------------------------------------------*/
#users {
    width: 500px;
    margin: 20px auto 0px auto;
    padding: 5px 10px 40px 10px;
    background: transparent;
    overflow: hidden;
}

#users>div {
    margin-bottom: 20px;
}

#users a {
    min-height: 45px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    border-left: 4px solid transparent;

    font-family: Poppins;
    font-size: 17px;
}

#users a:hover {
    background-color: #f7f7f7;
    transition: all 0.5s ease;
    cursor: pointer;
    border-left: 4px solid #0070c0;
}

#users a span {
    display: block;
}

#users a span:nth-child(2) {
    text-shadow: rgba(0, 0, 0, 0.2) 1px 1px 1px;
}

#users a span:nth-child(3) {
    margin-left: auto;
    color: red;
    font-size: 12px;
    padding: 0px 5px 0px 0px;
    font-family: Lato;
}

#users a .avatar {
    margin: 0px 10px 0px;
}

/*----------------------------------------------------------------------------*/
/* LOGIN FORM */
/*----------------------------------------------------------------------------*/
form {
    /* the generic form for inputting information */
    font-family: Poppins;
    width: 520px;
    border-radius: 10px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    background-color: #f9f9f9;
    padding: 0px 0px 40px 0px;
    position: relative;
}

form * {
    outline: none;
}

form>h1 {
    /* the header of the form which includes an icon and a close button */
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;

    font-family: Poppins;
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    letter-spacing: .05em;

    color: white;
    background-color: var(--formheader);

    padding: 10px 0px;
    position: relative;

    /* make this match the form's top radius */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

form>h1>p {
    font-size: 18px;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
}

form>h1>i {
    /* the close button */
    display: block;
    position: absolute;
    font-size: 22px;
    top: 3px;
    right: 3px;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    line-height: 30px !important;
    cursor: pointer;
}

form>h1>img {
    display: block;
    height: 100px;
    width: 100px;
    margin: 0px 0px 20px 0px;
}

form>h1>i:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

form>h1>i:active {
    background-color: rgba(0, 0, 0, 0.01);
}

form>div {
    display: flex;
    flex-direction: column;

    padding: 0px 30px;
    margin: 5px 0px 0px 0px;
}

/*------------*/
/*icon textbox*/
/*------------*/
.textbox {
    display: flex;
    flex-direction: row;

    border: none;
    margin: 0px 0px 10px 0px;

    position: relative;
}

input[type="text"],
input[type="password"] {
    font-family: Poppins;
    font-size: 14px;
    font-weight: normal;

    width: 100%;
    height: 34px;
    line-height: 34px;
    padding: 0px 0px 0px 37px;

    border: 1px solid #CACACA;

    transition: box-shadow 0.3s, border 0.3s;
}


input[type="password"]:focus {
    border: 1px solid var(--formheader);
    box-shadow: 0 0 4px var(--formheader);
}

.textbox i {
    position: absolute;
    left: 1px;
    top: 1px;
    padding: 9px 8px;

    font-size: 16px;
    color: #3e3d40;
    background-color: #E1E1E1;

    text-align: center;
    height: 32px;
    width: 32px;

    transition: background-color 0.3s;
}

.textbox input[type="text"]:focus+i,
.textbox input[type="password"]:focus+i {
    color: white;
    background-color: var(--formheader);
}

.textbox input[type="text"]:read-only+i,
.textbox input[type="password"]:read-only+i {
    color: #3e3d40;
    background-color: #E1E1E1;
}

/*-------------*/
/*submit button*/
/*-------------*/
input[type="submit"] {
    font-family: Poppins;
    font-size: 15px;
    font-weight: 500;

    border: none;
    background-color: var(--formheader);
    color: white;
    height: 33px;
}

input[type="submit"]:hover {
    background-color: #07ac99;
    transition: background-color 0.3s ease-in-out;
}

/*-------------*/
/*error message*/
/*-------------*/
#errormessage {
    display: flex;
    flex-direction: row;
    background-color: #c60f13;
    border-radius: 2px;
    color: white;
    font-family: Poppins;
    font-weight: normal;
    font-size: 12px;
    padding: 0px 10px;
    margin: 0px 0px 10px 0px;
    height: 25px;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
}

#errormessage i {
    margin-right: 5px;
    font-size: 14px;
}

#errormessage.show {
    transition: opacity 0.2s ease-in-out;
    opacity: 1;
}

/*--------*/
/*checkbox*/
/*--------*/
.customcheckmark {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    cursor: pointer;
    user-select: none;

    margin: 0px 0px 10px 0px;
}

.customcheckmark input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    z-index: -1;
}

.checkmark {
    display: flex;
    height: 25px;
    width: 25px;
    background-color: #E1E1E1;
    border: 1px solid #CACACA;
    transition: all 0.2s ease-in-out;

    justify-content: center;
    align-items: center;

    z-index: 100;
}

.checkmark:hover {
    border: 1px solid var(--formheader);
    box-shadow: 0 0 4px var(--formheader);

}

.checkmark i {
    font-size: 14px;
    color: #E1E1E1;
}

#chkRemember:checked+span {
    background-color: var(--formheader);
    border: 1px solid var(--formheader);
}

#chkRemember:checked+span i {
    color: white;
}

.customcheckmark p {
    font-size: 13px;
    font-family: Poppins;
    font-weight: normal;
    margin: 0px 0px 0px 5px;
}