code {
  padding: 0 5px;
  background: #f0f0f0;
  border-radius: 5px;
  align-items: center;
  display: inline-flex;
  box-sizing: border-box;
}

.d-spt-element {
  border-left: 1px solid #e3e9ef;
  padding: 0 1.875rem 1.875rem;
  border-right: 1px solid #e3e9ef;
}
.d-spt-amn {
    font-size: 1.75rem;
    color: #4e54c8;
}

.d-spt-content .gplshr-purchase-btn {
    background: #fe696a;
    border-color: #fe696a;
    color: #fff;
    box-shadow: 0 0.5rem 1.125rem -0.5rem rgba(254, 105, 106, 0.9);
}

.d-spt-content .gplshr-purchase-btn:hover {
    background: #fe3638;
    border-color: #fe3638;
    color: #fff;
    transform: scale(0.98);
    box-shadow: none;
    border: 0px;
}

.d-spt-content .gplshr-purchase-btn:active {
    transform: scale(0.96);
}
.d-spt-plat {
  background-color: #f6f9fc;
  padding: 1rem;
}
.d-spt-item {
  margin-bottom: 1rem;
}
.d-spt-link-img {
  color: #373f50;
  background-color: transparent;
  display: flex;
  align-items: center !important;
  align-items: flex-start;
}
.d-spt-media-body {
  flex: 1;
  padding-left: 0.5rem;
}
.d-spt-author-label {
  font-size: 0.8125rem;
}
.d-spt-author-name {
  margin-bottom: 0 !important;
  font-weight: 600;
  line-height: 1.2;
  color: #373f50;
}
.d-spt-ul {
  list-style: none;
  margin-left: 0;
  margin-bottom: 0;
}
.d-spt-li {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem !important;
  border-bottom: 1px solid #e3e9ef;
}
.d-spt-label {
  color: #373f50;
  font-weight: 500;
  font-size: 0.875rem;
}
.d-spt-desc {
  font-size: 0.875rem;
}

.d-spdai-content {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.gplshr-addf-btn, .gplshr-requpdate-btn, .gplshr-removewish, .d-spdai-link {
    margin-top: 12px;
    width: 100%;
    background: #fff;
    border: 1px solid #c1c2c7;
    padding: 12px 12px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #373f50;
    border-radius: 0.3125rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.3px;
    box-shadow: none;
}
.gplshr-addf-btn.addf-status-active {
  border: 1px solid #f48f90;
}
.addf-status-active i {
  color: #fe696a;
}
.addf-status-active:hover i {
  color: #fff;
}
.gplshr-removewish {
  border-color: #ffa3a4;
  color: #7d879c;
}
.gplshr-removewish i {
  color: #fe696a;
  font-weight: 600;
}
.gplshr-addf-btn:hover, .gplshr-requpdate-btn:hover, .gplshr-removewish:hover {
    background: #fe696a;
    border-color: #fe696a;
    color: #fff;
    transform: scale(0.98);
    box-shadow: 0 0.5rem 1.125rem -0.5rem rgba(254, 105, 106, 0.9);
    border: 0px;
}
.gplshr-removewish:hover i {
    color: #fff;
    font-weight: 400;
}

.gplshr-addf-btn:active, .gplshr-requpdate-btn:active, .gplshr-removewish:active {
    transform: scale(0.96);
}

.gplshr-addf-btn.loading {
    opacity: 0.6;
    cursor: not-allowed;
}

.edd_download_purchase_form {
  display: none;
}

/* SIDEBAR CONTENT */
/* Sidebar Container */
.sdb-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f7;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.sdb-section:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #dce3ed;
}

/* Header */
.sdb-section-header {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f4f9;
}

.sdb-title {
    font-size: 18px;
    font-weight: 700;
    color: #4B566B;
    letter-spacing: 0.3px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* List Container */
.sdb-btn {
  margin-bottom: 16px;
}

.sdb-content {
    margin: 0;
}

.sdb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* List Items */
.sdb-list-item {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4B566B;
    padding: 7px 10px 7px 30px;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s ease;
    line-height: 1.4;
    cursor: default;
    background: #f5f8fe;
    margin-bottom: 8px;
}

.sdb-list-item::before {
    content: '✓';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #4f7df3;
    font-weight: 700;
    font-size: 13px;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.sdb-list-item:hover {
    color: #1a2332;
    padding-left: 34px;
}

.sdb-list-item:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    color: #2d5bd9;
}

/* Special styling - lebih subtle untuk sidebar */
.sdb-list-item:nth-child(1)::before {
    color: #ff6b6b;
}

.sdb-list-item:nth-child(4)::before {
    color: #20c997;
}

.sdb-list-item:nth-child(7)::before {
    color: #ff9f43;
}

/* Hover effect untuk special items */
.sdb-list-item:nth-child(1) {
    background: #fff5f5;
}

.sdb-list-item:nth-child(4) {
    background: #f0fff8;
}

.sdb-list-item:nth-child(7) {
    background: #fffbf0;
}

/* Badge / counter optional */
.sdb-list-item::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #dce3ed;
    transition: all 0.2s ease;
}

.sdb-list-item:hover::after {
    background: #4f7df3;
    width: 6px;
    height: 6px;
}

/* Compact mode untuk sidebar yang sangat sempit */
@media (max-width: 280px) {
    .sdb-section {
        padding: 14px 12px;
    }

    .sdb-title {
        font-size: 12px;
    }

    .sdb-list-item {
        font-size: 12px;
        padding: 5px 8px 5px 26px;
    }

    .sdb-list-item::before {
        font-size: 11px;
        left: 6px;
    }
}

/* Dark mode untuk sidebar */
@media (prefers-color-scheme: dark) {
    .sdb-section {
        background: #1e2633;
        border-color: #2a3442;
    }

    .sdb-section:hover {
        border-color: #3a4556;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }

    .sdb-section-header {
        border-bottom-color: #2a3442;
    }

    .sdb-title {
        color: #e8edf5;
    }

    .sdb-list-item {
        color: #9aabb8;
    }

    .sdb-list-item:hover {
        background: #283240;
        color: #e8edf5;
    }

    .sdb-list-item:nth-child(1):hover {
        background: #2a1a1a;
    }

    .sdb-list-item:nth-child(4):hover {
        background: #142a22;
    }

    .sdb-list-item:nth-child(7):hover {
        background: #2a2414;
    }

    .sdb-list-item::after {
        background: #2a3442;
    }

    .sdb-list-item:hover::after {
        background: #6b8fe0;
    }
}

/* Sidebar dengan scroll indicator */
.sdb-section {
    position: relative;
}

.sdb-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #eef2f7, transparent);
    opacity: 0.5;
}

@media (prefers-color-scheme: dark) {
    .sdb-section::after {
        background: linear-gradient(90deg, transparent, #2a3442, transparent);
    }
}

/* Optional: Tooltip untuk fitur unggulan */
.sdb-list-item[data-featured] {
    position: relative;
}

.sdb-list-item[data-featured]::after {
    content: '★';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffd93d;
    font-size: 10px;
    opacity: 0.6;
}