﻿
.sh-loging-compo-container {
    width: 100%;
    height: 100vh;
    position: relative;
}

.sh-log-in-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 430px;
    height: 500px;
    border-radius: 15px;
    padding: 120px 32px 64px;
    background-color: #fff;
    border: solid 1px #00A79D;
}

.sh-login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.sh-login-title {
    top: -85px;
    position: relative;
}

    .sh-login-title h2 {
        font-family: "NotoSansArabic-Light";
    }

.sh-login-form {
    display: flex;
    flex-direction: column;
    row-gap: 40px;
}

.sh-input-box {
    display: flex;
    flex-direction: column;
    position: relative;
}

.sh-log-input {
    height: 50px;
    width: 100%;
    color: #000;
    background-color: transparent;
    border: 1px solid rgb(230, 230, 224);
    border-radius: 30px;
    outline: none;
    padding-inline: 15px;
    font-family: "NotoSansArabic-Medium";
    font-size: 0.9rem;
    transition: 0.3s all;
}

.sh-log-input:focus {
    border: 1px solid #565656
}

.sh-input-box label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #a3a3a3;
    transition: 0.2s;
    cursor: text;
}

.sh-user-name-icon-box {
    width: 22px;
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
}

.sh-user-name-icon-box img {
    width: 100%;
    object-fit: cover;
}


.sh-log-input:focus ~ .sh-input-box label,
.sh-log-input:valid ~ .sh-input-box label {
    top: 0;
}

/*#region Logout style*/

.sh-user-logout {
    position: fixed;
    padding-inline: 20px;
    display: flex;
    align-items: center;
    column-gap: 20px;
    z-index: 99;
    margin-top: 10px;
    padding-inline: 10px;
}

.sh-current-user-logout {
    display: flex;
    align-items: center;
    column-gap: 10px;
    background-color: #fefefe;
    padding-block: 5px;
    padding-inline: 15px;
    border-radius: 20px;
    border: solid 1px rgb(160, 160, 160);
    user-select: none;
    cursor: pointer;
    /*display: none;*/
}

.sh-user-logout img {
    width: 23px;
    object-fit: cover;
}

.sh-user-logout p {
    margin-bottom: 0;
    font-family: "NotoSansArabic-Regular";
    font-size: 1rem;
}

.sh-current-user-arrow  {
    width: 16px;
    margin-right: 12px;
}

.sh-current-user-arrow img {
    width: 100%;
    object-fit: cover;
}

.sh-user-drop-down {
    width: 250px;
    min-height: 150px;
    overflow: auto;
    background-color: #fff;
    border-radius: 10px;
    border: solid 5px #e9eef6;
    position: relative;
    top: 55px;
    left: 12px;
    padding-block: 20px;
    padding-inline: 12px;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    align-items: center;
    box-shadow: 0 4px 8px 3px rgba(0, 0, 0, .15), 0 1px 3px rgba(0, 0, 0, .3);
}

.sh-dropdown-item {
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    padding-inline: 12px;
    padding-block: 4px;
    column-gap: 12px;
    color: white;
    width: 180px;
    max-width: 180px
}

.sh-dropdown-item:active {
      transform: scale(0.98);
}

.sh-dorpdown-icon-box {
    width: 24px;
}

.sh-dorpdown-icon-box img {
    width: 100%;
    object-fit: cover;
    filter: brightness(0) saturate(100%) invert(1) sepia(0);
}

.sh-dropdown-item p {
    font-family: "NotoSansArabic-Medium";
    font-size: 0.85rem;
    margin-bottom: 0;
}

.sh-drowpdown-logout-btn {
    background-color: #f44336; /* Red for urgency */
}

.sh-drowpdown-logout-btn:hover {
     background-color: #d32f2f;
}

.sh-drowpdown-change-password-btn {
    background-color: #4CAF50
}

/*#endregion*/

.shazili-copyright {
    position: relative;
    bottom: -60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shazili-copyright p {
    margin-bottom: 0;
    color: #bfbfbf;
}