.pageBg {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 10%, rgba(0, 0, 0, 0.85) 20%, rgba(0, 0, 0, 0) 100%) !important;
}

.fancybox__backdrop {
    background-color: var(--colorBrandPrimary20) !important;
}

.leftSide {
    min-width: 473px;
}

.rightSide {
    display: block !important;
}

.person {
    padding: 1.5rem !important;
    line-height: 1.5;

    h3 {
        margin: 0.75rem 0;
    }

    .agentInfoContainer {
        background-color: rgba(0, 0, 0, 0.5);
        padding: 1rem;
        border-radius: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .5rem;

        a {
            color: white;
        }

        img {
            margin-top: 0.5rem;
        }
    }
}

.agentList {
    display: flex;
    height: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.agentImage {
    width: 126px;
    height: 126px;
    border-radius: 50%;
}

.social-buttons {
  /* position: fixed;
  bottom: 60px;
  right: 25px; */
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
  p{
    color: white;
    font-size: 0.8rem;
    text-align: right;
    margin: 0;
  }
}

.social-buttons-container{
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.social-buttons a img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* Biar ikon putih */
  transition: transform 0.2s ease;
}

.social-buttons a:hover img {
  /* transform: scale(1.2); */
}

@media (max-width: 767.98px) {
    #page {
        flex-direction: column;
    }

    .leftSide {
        overflow: unset !important;
        display: flex;
        flex-direction: column;
        align-items: start;
        padding: 0;
        margin-top: 1rem;
        min-width: 90%;
        hr {
            margin: 1rem 0 .5rem 0;
        }
    }

    .leftSide>img {
        width: 140px;
        ;
    }

    .rightSide {
        width: calc(100% - 3rem);
    }

    .person {
        padding: 0 !important;
        display: grid;
        grid-template-columns: 8rem 1fr;
        gap: 1rem;
        width: 100%;
        align-items: start;
        transform: scale(0.9);
    }

    .agentImage {
        width: 100px;
        height: 100px;
    }

    .agentList {
        flex-direction: column;
        gap: 1rem;
        justify-content: start;
    }

    .agentInfoContainer>img {
        /* display: none; */
        width: 100px;
    }
    .social-buttons-container{
        transform: scale(0.8);
        transform-origin: top left;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .agentList {
        flex-direction: column;
    }
}