:root {
    --vh: 1vh; /* Initial fallback */
}
.container-fluid.vh-fix {
    height: calc(var(--vh, 1vh) * 100);
}
.info {
    font-weight: 700;
    text-decoration: none;
}

a {
    color: #212529;
}
.collection-item {
    border: 1px solid #cccccc;
    margin: 5px;
    background: #eee;
    padding: 5px 0;
    font-size: 1.2em;
}
#sortable {
    margin: 0;
    padding: 0;
}
iframe {
    width: 100%;
    height: 100%;
    border: none;
}
#myDiv {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.box {
    font-family: "Open Sans", sans-serif;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-bottom: 0px;
    padding: 10px;
    z-index: 9999;
}

.box .profile-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.box .profile-name {
  font-size: 1.125rem;
  margin: 0;
}

.box .profile-position {
  color: var(--accent-color);
  margin: 0;
  font-size: 0.875rem;
}

/* Tetap mempertahankan style aslinya */
.social-proof {
    font-family: "Open Sans", sans-serif;
    position: fixed;
    bottom: 5px;
    left: 10px;
    z-index: 9999;
    padding: 10px;
    opacity: 0;
    transform: translateY(50px); /* mulai dari bawah */
    transition: all 0.5s ease;
    pointer-events: none;
}

/* Saat muncul */
.social-proof.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.social-proof a {
    color: #fff;
}

#downline1 {
    float: left;
    width: 100%;
    max-width: 600px;
    overflow: auto;
}
.geserkanan {
    margin: 0;
    padding: 0 0 0 15px;
    background: url("img/line.gif") repeat-y;
}
.listmember {
    background: url("img/line.gif") repeat-y;
}
#detilprofil {
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}
a:hover {
    cursor: pointer;
}
#themember {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    width: 100%;
    max-width: 500px;
    height: 80%;
    overflow-y: scroll;
    padding: 10px;
}
.close {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 5px;
    background-color: red;
    color: white;
}
.table {
    background: #ffffff;
}
.password-wrapper {
    position: relative;
}
.password-wrapper input[type="password"] {
    padding-right: 30px;
}
.password-wrapper .toggle-password {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    cursor: pointer;
}
.card-body img {
    max-width: 100%;
}
.password-wrapper {
    position: relative;
}
.password-wrapper input[type="password"] {
    padding-right: 30px;
}
.password-wrapper .toggle-password {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    cursor: pointer;
}
.carousel-img-container {
    width: 100%;
    padding-top: 100%;
    position: relative;
}
.carousel-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chat-input {
    display: flex;
    align-items: center;
    border-radius: 25px;
    padding: 8px 12px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.chat-input textarea {
    resize: none;
    overflow: hidden;
    min-height: 38px;
    border: none;
    outline: none;
    width: 100%;
}
.chat-input button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
}
.pagination .page-link {
  color: #212529; /* text-dark */
}

.pagination .page-link:hover {
  color: #000;
}

.pagination .page-item.active .page-link {
  background-color: #343a40; /* bg-dark */
  border-color: #343a40;
  color: #fff;
}
.nav-pills .nav-link {
  color: #212529; /* text-dark */
}

.nav-pills .nav-link.active {
  background-color: #343a40; /* bg-dark */
  color: #fff;
}

.transition { transition: all 0.2s ease-in-out; }
.bg-hover:hover {
    background-color: #f0f0f0 !important;
}

.bg-hover.active {
    background-color: #e0e0e0 !important;
    color: #000 !important;
    font-weight: bold;
}
.form-control:focus {
    box-shadow: none !important;
}

