.Form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: unset !important;
    z-index: 10000;
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
}

.Form main {
    position: relative;
    padding: 40px 20px;
    text-align: center;
    width: 95%;
    max-width: 500px;
    background-color: white;
    border: 1px solid rgb(201, 201, 201);
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .1);
    max-height: 95vh;
    overflow-y: scroll;
}

.Form main::-webkit-scrollbar {
    width: 10px;
    height: 5px;
}

.Form main::-webkit-scrollbar-thumb {
    background: rgb(150, 150, 150);
    border-radius: 5px;
}

.Form main::-webkit-scrollbar-thumb:active {
    background: rgb(130, 130, 130);
}

.Form main h5 {
    margin-bottom: 40px;
}

.Form main section {
    display: none;
    font-size: 14px !important;
    padding: 0 15px;
    text-align: left;
    border-radius: 7px;
    border: 1px solid rgb(224, 224, 224);
    background-color: antiquewhite;
}

.Form main section * {
    font-size: 14px;
}

.Form main section p {
    margin: 10px 0;
}

.Form main section a {
    color: blue;
    text-decoration: underline;
}

.Form main em {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: .3s;
}

.Form main em:hover {
    background-color: rgba(0, 0, 0, .1);
}

.Form main button {
    background-size: 30%;
    background-position: center;
    background-repeat: no-repeat;
}

#alert {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    width: 95%;
    height: -60px;
    max-width: 500px;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .3s;
}

#alert.success {
    background: linear-gradient(310deg, #67c23a, #4aa91b);
}

#alert.error {
    background: linear-gradient(310deg, #ea4e3d, #ee321d);
}

#alert.info {
    background: linear-gradient(310deg, #55a6f8, #369aff)
}

#alert div {
    display: flex;
    align-items: center;

}

#alert div p {
    color: white;
    margin: 0 0 0 20px;
}

#alert em {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: .3s;
}

#alert em:hover {
    background-color: rgba(0, 0, 0, .1);
}

.switch,
.edit,
.delete,
.history {
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    outline: none;
    padding: 5px;
    margin: 0;
    border-radius: 50%;
    transition: .3s;
}

.switch:hover,
.edit:hover,
.delete:hover,
.history:hover {
    background-color: rgba(0, 0, 0, .1);
}

.switch svg,
.edit svg,
.delete svg,
.history svg {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cus1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cus2 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 500px) {

    .cus2 select,
    .cut2 button {
        width: 100% !important;
    }
}

/* ---------------------------------- */
#calendar table {
    border-collapse: collapse;
    width: 100%;
}

#calendar table tr {
    display: flex;
}

#calendar table th,
#calendar table td {
    border: 1px solid #ddd;
    text-align: center;
    padding: 8px;
    width: calc(100%/7);
}

#calendar table th {
    background-color: #f4f4f4;
}

#calendar table div {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 5px;
    padding: 10px;
    text-align: left;
    font-size: 22px;
    font-weight: bold;
    background-image: linear-gradient(45deg, #ffffff 80%, #f37335 50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#calendar table figure {
    /* width: 300px; */
    background-color: white;
    border-radius: 5px;
    border: 1px solid rgb(223, 223, 223);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    text-align: left;
}

#calendar table figure p {
    font-size: 12px;
    margin: 5px 0;
}

/* -------------------------------------------- */

#historyForm main div aside {
    display: flex;
}

#historyForm main div aside div {
    padding-right: 20px;
}

#historyForm main div aside div hr {
    margin: 0 auto;
    width: 5px;
    height: calc(100% - 30px);
    background-color: grey;
    border-radius: 2.5px;
}

#historyForm main div aside figure {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#historyForm main div aside figure strong {
    color: #f37335;
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

#historyForm main div aside figure p {
    margin-bottom: 2px;
    text-align: left;
}

/* ------------------------------------------- */

#addClein {
    position: absolute;
    top: 0;
    left: 12px;
    transform: translateY(-100%);
    font-size: 14px;
    color: #F56565;
    text-decoration: underline;
}

#addClein span {
    font-size: 16px;
}

#review {
    display: flex;
    align-items: center;
    height: 40px;
}

#review input {
    width: 55%;
    border-radius: 0.375rem 0 0 0.375rem;
}

#review b {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    width: 45%;
    height: 100%;
    background-color: #95a5a6;
    border-radius: 0 0.375rem 0.375rem 0;
}

#clientList {
    display: none;
    width: fit-content;
    min-width: calc(100% - 22px);
    position: absolute;
    top: 40px;
    left: 12px;
    padding: 0;
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: scroll;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    background-color: white;
    border-radius: 5px 0 0 5px;
}

#clientList::-webkit-scrollbar {
    width: 5px;
}

#clientList::-webkit-scrollbar-track {
    background: white;
}

#clientList::-webkit-scrollbar-thumb {
    background: rgb(150, 150, 150);
    border-radius: 5px;
}

#clientList::-webkit-scrollbar-thumb:active {
    background: rgb(130, 130, 130);
}

#clientList div {
    padding: 5px 14px;
    text-align: left;
    text-wrap: nowrap;
    cursor: pointer;
}

#clientList div:hover {
    background-color: #0062d3;
    color: white;
}