/* START KOL Active Members Light Theme */
html.light-mode .member-card-active-container {
    padding: 0;
}

html.light-mode .member-card-active-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

html.light-mode .member-card-active-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    flex: 0 1 calc(50% - 6px);
}

@media (min-width: 500px) {
    html.light-mode .member-card-active-item {
        flex: 0 1 calc(33.333% - 8px);
    }
}

@media (min-width: 700px) {
    html.light-mode .member-card-active-item {
        flex: 0 1 calc(25% - 9px);
    }
}

@media (min-width: 900px) {
    html.light-mode .member-card-active-item {
        flex: 0 1 calc(20% - 9.6px);
    }
}

html.light-mode .member-card-active-avatar {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

html.light-mode .member-card-active-avatar a {
    display: block;
    width: 100%;
    height: 100%;
}

html.light-mode .member-card-active-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

html.light-mode .member-card-active-avatar img:hover {
    transform: scale(1.05);
    border-color: #0066cc;
}

html.light-mode .member-card-active-info {
    text-align: center;
    width: 100%;
}

html.light-mode .member-card-active-name {
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    word-break: break-word;
}

html.light-mode .member-card-active-name a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

html.light-mode .member-card-active-name a:hover {
    color: #0052a3;
    text-decoration: underline;
}

html.light-mode .member-card-active-action {
    margin-top: 6px;
}

html.light-mode .member-card-active-btn-friend,
html.light-mode .member-card-active-btn-unfriend {
    display: inline-block;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    color: white;
    background: linear-gradient(to bottom, #2d7c2d, #1f5f1f);
    border-top: 1px solid #3d9d3d;
    border-left: 1px solid #3d9d3d;
    border-right: 1px solid #1a4d1a;
    border-bottom: 1px solid #1a4d1a;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

html.light-mode .member-card-active-btn-friend:hover {
    background: linear-gradient(to bottom, #338533, #265f26);
    transform: translateY(-1px);
}

html.light-mode .member-card-active-btn-friend:active {
    transform: translateY(0);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
}

html.light-mode .member-card-active-btn-unfriend {
    background: linear-gradient(to bottom, #d85032, #b83820);
    border-top: 1px solid #f07456;
    border-left: 1px solid #f07456;
    border-right: 1px solid #8b2a1a;
    border-bottom: 1px solid #8b2a1a;
}

html.light-mode .member-card-active-btn-unfriend:hover {
    background: linear-gradient(to bottom, #e85f3f, #c8462d);
    transform: translateY(-1px);
}

html.light-mode .member-card-active-btn-unfriend:active {
    transform: translateY(0);
}

html.light-mode .member-card-active-btn-friend:disabled,
html.light-mode .member-card-active-btn-unfriend:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

html.light-mode .member-card-active-pending,
html.light-mode .member-card-active-friend {
    display: inline-block;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    background: #f0f0f0;
    border-radius: 4px;
    border: 1px solid #ddd;
}

html.light-mode .member-card-no-members {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}
/* END KOL Active Members Light Theme */

/* ===== HOLOGRAPHIC STYLE ===== */
html.light-mode .member-card-holographic-container {
    padding: 0;
    background: transparent !important;
}

html.light-mode .member-card-holographic-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    background: transparent;
}

html.light-mode .member-card-holographic-member {
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 1 calc(50% - 8px);
}

@media (min-width: 500px) {
    html.light-mode .member-card-holographic-member {
        flex: 0 1 calc(33.333% - 10px);
    }
}

@media (min-width: 700px) {
    html.light-mode .member-card-holographic-member {
        flex: 0 1 calc(25% - 12px);
    }
}

@media (min-width: 900px) {
    html.light-mode .member-card-holographic-member {
        flex: 0 1 calc(20% - 12.8px);
    }
}

html.light-mode .member-card-holographic-card {
    position: relative;
    width: 100px;
    aspect-ratio: auto;
    height: auto;
    background: #e5e7eb;
    border-radius: 8px;
    padding: 12px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    border: 1px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

html.light-mode .member-card-holographic-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 45%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.4) 55%,
        transparent 100%
    );
    animation: hologram-shine 3s infinite;
    z-index: 1;
}

html.light-mode .member-card-holographic-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: transparent;
    z-index: 0;
}

html.light-mode .member-card-holographic-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

html.light-mode .member-card-holographic-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

html.light-mode .member-card-holographic-avatar a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

html.light-mode .member-card-holographic-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #9ca3af;
}

html.light-mode .member-card-holographic-name {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
    color: #1f2937;
}

html.light-mode .member-card-holographic-name a {
    color: #1f2937;
    text-decoration: none;
    transition: all 0.2s;
}

html.light-mode .member-card-holographic-name a:hover {
    color: #111827;
}

html.light-mode .member-card-holographic-action {
    margin-top: 6px;
}

html.light-mode .member-card-holographic-btn-friend {
    display: inline-block;
    height: 32px;
    padding: 0 15px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #2d7c2d 0%, #1f5f1f 100%);
    color: white;
    border-top: 1px solid #3d9d3d;
    border-left: 1px solid #3d9d3d;
    border-right: 1px solid #1a4d1a;
    border-bottom: 1px solid #1a4d1a;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    animation: wave 2s infinite;
    white-space: nowrap;
    line-height: 28px;
}

html.light-mode .member-card-holographic-btn-friend:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

html.light-mode .member-card-holographic-pending,
html.light-mode .member-card-holographic-friend {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 15px;
    font-size: 12px;
    font-weight: 600;
    color: #2d2d2d;
    background: linear-gradient(135deg, #e2e2e2 0%, #d4d4d4 100%);
    border-radius: 6px;
    border-top: 1px solid #f0f0f0;
    border-left: 1px solid #f0f0f0;
    border-right: 1px solid #b0b0b0;
    border-bottom: 1px solid #b0b0b0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

html.light-mode .member-card-holographic-member:hover .member-card-holographic-card {
    transform: scale(1.15) rotateX(-25deg) translateZ(30px) translateY(-10px);
    border-color: #d1d5db;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* DARK MODE */
html.dark-mode .member-card-holographic-container {
    padding: 0;
    background: transparent !important;
}

html.dark-mode .member-card-holographic-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    background: transparent;
}

html.dark-mode .member-card-holographic-member {
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 1 calc(50% - 8px);
}

@media (min-width: 500px) {
    html.dark-mode .member-card-holographic-member {
        flex: 0 1 calc(33.333% - 10px);
    }
}

@media (min-width: 700px) {
    html.dark-mode .member-card-holographic-member {
        flex: 0 1 calc(25% - 12px);
    }
}

@media (min-width: 900px) {
    html.dark-mode .member-card-holographic-member {
        flex: 0 1 calc(20% - 12.8px);
    }
}

html.dark-mode .member-card-holographic-card {
    position: relative;
    width: 100px;
    aspect-ratio: auto;
    height: auto;
    background: #2a2a2a;
    border-radius: 8px;
    padding: 12px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

html.dark-mode .member-card-holographic-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        transparent 100%
    );
    animation: hologram-shine 3s infinite;
    z-index: 1;
}

html.dark-mode .member-card-holographic-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: transparent;
    z-index: 0;
}

html.dark-mode .member-card-holographic-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

html.dark-mode .member-card-holographic-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

html.dark-mode .member-card-holographic-avatar a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

html.dark-mode .member-card-holographic-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #333;
}

html.dark-mode .member-card-holographic-name {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
    color: #e0e0e0;
}

html.dark-mode .member-card-holographic-name a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.2s;
}

html.dark-mode .member-card-holographic-name a:hover {
    color: #ffffff;
}

html.dark-mode .member-card-holographic-action {
    margin-top: 6px;
}

html.dark-mode .member-card-holographic-btn-friend {
    display: inline-block;
    height: 32px;
    padding: 0 15px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #2d7c2d 0%, #1f5f1f 100%);
    color: white;
    border-top: 1px solid #3d9d3d;
    border-left: 1px solid #3d9d3d;
    border-right: 1px solid #1a4d1a;
    border-bottom: 1px solid #1a4d1a;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    animation: wave 2s infinite;
    white-space: nowrap;
    line-height: 28px;
}

html.dark-mode .member-card-holographic-btn-friend:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
}

html.dark-mode .member-card-holographic-pending,
html.dark-mode .member-card-holographic-friend {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 15px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #383838 0%, #343434 100%);
    border-radius: 6px;
    border-top: 1px solid #555555;
    border-left: 1px solid #555555;
    border-right: 1px solid #282828;
    border-bottom: 1px solid #282828;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

html.dark-mode .member-card-holographic-member:hover .member-card-holographic-card {
    transform: scale(1.15) rotateX(-25deg) translateZ(30px) translateY(-10px);
    border-color: #2a2a2a;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 10px 20px rgba(0, 0, 0, 0.4);
    background: #333;
}

@keyframes hologram-shine {
    0% {
        transform: translate(-100%, -100%) rotate(45deg);
    }
    100% {
        transform: translate(100%, 100%) rotate(45deg);
    }
}

@keyframes wave {
    0% {
        background-position: -200% 0%, 0% 0%;
    }
    50% {
        background-position: 0% 0%, 0% 0%;
    }
    100% {
        background-position: 200% 0%, 0% 0%;
    }
}
/* END HOLOGRAPHIC STYLE */

/* START KOL Active Members Dark Theme */
html.dark-mode .member-card-active-container {
    padding: 0;
}

html.dark-mode .member-card-active-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

html.dark-mode .member-card-active-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    flex: 0 1 calc(50% - 6px);
}

@media (min-width: 500px) {
    html.dark-mode .member-card-active-item {
        flex: 0 1 calc(33.333% - 8px);
    }
}

@media (min-width: 700px) {
    html.dark-mode .member-card-active-item {
        flex: 0 1 calc(25% - 9px);
    }
}

@media (min-width: 900px) {
    html.dark-mode .member-card-active-item {
        flex: 0 1 calc(20% - 9.6px);
    }
}

html.dark-mode .member-card-active-avatar {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

html.dark-mode .member-card-active-avatar a {
    display: block;
    width: 100%;
    height: 100%;
}

html.dark-mode .member-card-active-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #444;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

html.dark-mode .member-card-active-avatar img:hover {
    transform: scale(1.05);
    border-color: #4da3ff;
}

html.dark-mode .member-card-active-info {
    text-align: center;
    width: 100%;
}

html.dark-mode .member-card-active-name {
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    color: #e0e0e0;
    word-break: break-word;
}

html.dark-mode .member-card-active-name a {
    color: #4da3ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

html.dark-mode .member-card-active-name a:hover {
    color: #6bb3ff;
    text-decoration: underline;
}

html.dark-mode .member-card-active-action {
    margin-top: 6px;
}

html.dark-mode .member-card-active-btn-friend,
html.dark-mode .member-card-active-btn-unfriend {
    display: inline-block;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    color: white;
    background: linear-gradient(to bottom, #2d7c2d, #1f5f1f);
    border-top: 1px solid #3d9d3d;
    border-left: 1px solid #3d9d3d;
    border-right: 1px solid #1a4d1a;
    border-bottom: 1px solid #1a4d1a;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

html.dark-mode .member-card-active-btn-friend:hover {
    background: linear-gradient(to bottom, #338533, #265f26);
    transform: translateY(-1px);
}

html.dark-mode .member-card-active-btn-friend:active {
    transform: translateY(0);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
}

html.dark-mode .member-card-active-btn-unfriend {
    background: linear-gradient(to bottom, #d85032, #b83820);
    border-top: 1px solid #f07456;
    border-left: 1px solid #f07456;
    border-right: 1px solid #8b2a1a;
    border-bottom: 1px solid #8b2a1a;
}

html.dark-mode .member-card-active-btn-unfriend:hover {
    background: linear-gradient(to bottom, #e85f3f, #c8462d);
    transform: translateY(-1px);
}

html.dark-mode .member-card-active-btn-unfriend:active {
    transform: translateY(0);
}

html.dark-mode .member-card-active-btn-friend:disabled,
html.dark-mode .member-card-active-btn-unfriend:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

html.dark-mode .member-card-active-pending,
html.dark-mode .member-card-active-friend {
    display: inline-block;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #aaa;
    background: #333;
    border-radius: 4px;
    border: 1px solid #555;
}

html.dark-mode .member-card-no-members {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}
/* END KOL Active Members Dark Theme */
