.custom-offcanvas-container {
    position: relative;
}

@media screen and (min-width: 1024px) {
    .custom-offcanvas-container {
        display: none;
    }
}

.custom-offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.custom-offcanvas-backdrop.show {
    display: block;
    opacity: 1;
}

.custom-offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background-color: #fff;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.custom-offcanvas.show {
    transform: translateX(0);
}

.custom-offcanvas-close {
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    cursor: pointer;
}

.custom-offcanvas-body {
    padding: 1rem;
    overflow-y: auto;
    height: calc(100% - 20px);
}

.ys-dashboard__sidebar {
    display: none;
    margin-top: 70px;
}

.ys-dashboard__sidebar.mobile-sidebar {
    display: block;
    position: relative;
    margin-top: 0px;
    width: auto;
}

@media screen and (min-width: 1024px) {
    .ys-dashboard__sidebar {
        display: block;
        width: 25%;
    }
}

.ys-dashboard__sidebar .ys-dashboard__sidebar-inner-container {
    border: 1px solid #E4E4E4;
    border-radius: 30px;
}

.ys-dashboard__sidebar.mobile-sidebar .ys-dashboard__sidebar-inner-container {
    border: 0px;
    border-radius: 0px;
}

.ys-dashboard__sidebar .custom-offcanvas-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1051;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 15px 15px 15px;
}

@media screen and (min-width: 1300px) {
    .ys-dashboard__sidebar .ys-dashboard__broker-info {
        flex-direction: row;
    }
}

.ys-dashboard__sidebar .ys-dashboard__broker-info img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info .ys-dashboard__broker-name {
    color: #002B49;
    font-size: 14px;
    font-weight: 700;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info .ys-dashboard__broker-specialty {
    color: #5DAAD5;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.25px;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info .ys-dashboard__broker-phone a {
    color: #002B49;
    text-decoration: none;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info .ys-dashboard__broker-phone {
    color: #002B49;
    font-size: 12px;
    font-weight: 500;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info .ys-dashboard__broker-email a {
    color: #002B49;
    text-decoration: none;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info .ys-dashboard__broker-email {
    color: #002B49;
    font-size: 12px;
    font-weight: 500;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info-buttons {
    display: flex;
    flex-direction: column;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info .ys-dashboard__broker-info-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ys-dashboard__sidebar .ys-dashboard__navigation-divider {
    border-top: 0.5px solid #E4E4E4 !important;
    margin: 0px 20px;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info-buttons .ys-dashboard__broker-info-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #002B49;
    background-color: #FFFFFF;
    font-weight: 600;
    gap: 10px;
    padding: 25px;
    border: 0px;
    text-decoration: none;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    transition: all 0.3s ease;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info-buttons .ys-dashboard__broker-info-button.not-logged-in {
    color: #808080;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info-buttons .ys-dashboard__broker-info-button.not-logged-in:hover {
    font-size: inherit;
    margin-left: 10px;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info-buttons .ys-dashboard__broker-info-button.not-logged-in:hover::after {
    content: none;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info-buttons .ys-dashboard__broker-info-button.not-logged-in span {
    display: none !important;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info-buttons .ys-dashboard__broker-info-button.not-logged-in svg {
    display: none !important;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info-buttons .ys-dashboard__broker-info-button:hover::after {
    content: url('../../img/icons/right-arrow-outline-icon.png');
    margin-left: auto;
    margin-top: 10px;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info-buttons .ys-dashboard__broker-info-button span {
    display: none;
    transition: all 0.3s ease;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info-buttons .ys-dashboard__broker-info-button:hover span {
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info-buttons .ys-dashboard__broker-info-button p {
    margin-left: 10px;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info-buttons .ys-dashboard__broker-info-button:hover p {
    margin-left: 0px;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info-buttons .ys-dashboard__broker-info-button span {
    margin-left: 0px;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info-buttons .ys-dashboard__broker-info-button:hover span {
    margin-left: 20px;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info-buttons .ys-dashboard__broker-info-button:last-of-type {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info-buttons .ys-dashboard__broker-info-button:hover {
    font-size: 20px;
    transition: all 0.3s ease;
}

.ys-dashboard__sidebar .ys-dashboard__broker-info-buttons .ys-dashboard__broker-info-button svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.ys-dashboard__sidebar .ys-dashboard__login-container {
    padding: 20px;
}

.ys-dashboard__sidebar .ys-dashboard__login-container-text {
    color: #002B49;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.ys-dashboard__sidebar .ys-dashboard__login-container img {
    width: 160px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.ys-dashboard__sidebar .ys-dashboard__login-container .gs-button {
    width: 100% !important;
    padding: 10px 50px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0px auto 10px auto;
    text-wrap: nowrap;
}

.ys-dashboard__sidebar .ys-dashboard__login-container .gs-button.primary {
    margin-bottom: 0px !important;
}

@media screen and (min-width: 1252px) {
    .ys-dashboard__sidebar .ys-dashboard__login-container .gs-button {
        width: 80% !important;
    }
}
