.gplshr-alert {
    display: block;
    padding: 10px 20px;
    border-left: 5px solid;
    border-top: 1px solid;
    border-right: 1px solid;
    border-bottom: 1px solid;
    border-radius: 8px;
    margin-bottom: 20px;
}
.alert-success {
    color: #1b5e20;
    border-color: #28a745;
    background-color: #ebf6e8;
}
.alert-warning {
    color: #e65100;
    border-color: #ffb903;
    background-color: #fffae8;
}
.alert-error {
    background-color: #fee9ed;
    color: #c62828;
}
.alert-info {
    background-color: #e4f1fc;
    color: #1565c0;
    border-color: #047fc1;
}
.alert-default {
    background-color: #fff;
    color: #2c3e50;
    border-color: #2c3e50;
}
.refresh-account-page {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.refresh-account-btn {
    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;
    max-width: 200px;
}
.gplshr-dashboard-wrapper {
    display: flex;
    min-height: 500px;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
}

.gplshr-sidebar {
    width: 250px;
    background: #2c3e50;
    color: white;
    padding: 20px 0;
    flex-shrink: 0;
}

.gplshr-user-info {
    padding: 0 20px 20px;
    border-bottom: 1px solid #34495e;
    text-align: center;
}

.gplshr-user-info .user-avatar {
    margin-bottom: 10px;
}

.gplshr-user-info .user-avatar img {
    border-radius: 50%;
    border: 3px solid #3498db;
}

.ustatus-pill {
    position: relative;
    top: -5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    margin: 5px 0 0;
    border-radius: 6px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    font-size: 11px;
    font-weight: 500;
    color: #cbd5e1;
    letter-spacing: 0.02em;
}
.ustatus-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.ustatus-pill-dot.verified {
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.ustatus-pill-dot.unverified {
    background: #dfa51d;
    box-shadow: 0 0 0 2px rgba(185, 159, 16, 0.2);
}
.ustatus-pill-dot.restricted {
    background: #939393;
    box-shadow: 0 0 0 2px rgba(158, 158, 158, 0.2);
}
.ustatus-pill-dot.banned {
    background: #c02222;
    box-shadow: 0 0 0 2px rgba(185, 16, 16, 0.2);
}

.ustatus-label.verified {
    color: #10b981;
}
.ustatus-label.unverified {
    color: #dfa51d;
}
.ustatus-label.restricted {
    color: #939393;
}
.ustatus-label.banned {
    color: #c02222;
}

.gplshr-user-info h3 {
    margin: 0;
    color: white;
    font-size: 18px;
}

.gplshr-user-info p {
    margin: 5px 0 0;
    color: #bdc3c7;
    font-size: 13px;
    word-break: break-all;
}

.gplshr-menu {
    padding: 20px 0;
}

.gplshr-menu .menu-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.gplshr-menu .menu-item:hover {
    background: #34495e;
    color: white;
}

.gplshr-menu .menu-item.active {
    background: #34495e;
    color: white;
    border-left-color: #3498db;
}

.gplshr-menu .menu-item i {
    width: 25px;
    margin-right: 10px;
    text-align: center;
}

.gplshr-content {
    flex: 1;
    padding: 30px;
    background: white;
    overflow-x: auto;
}

.dashboard-title {
    font-size: 23px;
}

.gplshr-login-required {
    background: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #f5c6cb;
    text-align: center;
}

@media (max-width: 768px) {
    .gplshr-dashboard-wrapper {
        flex-direction: column;
    }
    
    .gplshr-sidebar {
        width: 100%;
    }
    
    .gplshr-content {
        padding: 0px;
    }
}

/**********************
* Dashboard Conten
**********************/
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.stat-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}
.stat-box h4 {
    margin: 0;
    color: #7f8c8d;
    font-size: 14px;
}
.stat-box p {
    margin: 10px 0 0;
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}


/**********************
* Edit Account Conten
**********************/
.dash-edit-account {
    max-width: 900px;
    margin: 0 auto;
}

.dash-edit-account fieldset {
    border: 1px solid #ddd;
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 4px;
    background-color: #f0f0f0;
}

.dash-edit-account fieldset legend {
    font-weight: bold;
    font-size: 1.1em;
    padding: 0 10px;
}

/* Menggunakan grid untuk 2 kolom */
.dash-edit-account form fieldset {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 30px;
}

/* Semua p (field wrapper) masuk ke grid */
.dash-edit-account form p {
    margin: 5px 0;
    display: flex;
    flex-direction: column;
}

/* Field tertentu yang butuh full width (2 kolom penuh) */
.dash-edit-account #edd_profile_display_name_wrap,
.dash-edit-account #edd_profile_primary_email_wrap,
.dash-edit-account #edd_profile_submit_wrap {
    grid-column: 1 / -1;
}

.dash-edit-account input, .dash-edit-account select {
  background-color: #fff;
}

/* Style input, select, textarea */
.dash-edit-account form p input,
.dash-edit-account form p select,
.dash-edit-account form p textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

.dash-edit-account form p label {
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

/* Submit button */
.dash-edit-account #edd_profile_submit_wrap {
    text-align: center;
    margin-top: 10px;
}

.dash-edit-account #edd_profile_submit_wrap input[type="submit"] {
    padding: 10px 40px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.dash-edit-account #edd_profile_submit_wrap input[type="submit"]:hover {
    background: #005a87;
}

.dash-edit-account fieldset legend {
  margin-bottom: 10px;
}

.gplshr-edd-field-desc {
    color: #7f8c8d;
    font-size: 13px;
}

/* -------------------------------- */
 /* Sembunyikan checkbox asli */
  .shrswtch-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
  }

  /* Gaya label sebagai saklar */
  .shrswtch-label {
    display: inline-block;
    width: 48px;
    height: 28px;
    background: #ccc;
    border-radius: 14px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
    flex-shrink: 0;
  }

  /* Tombol bulat di dalam saklar */
  .shrswtch-label::after {
    content: '';
    display: block;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  }

  /* Saklar ON (checked) */
  .shrswtch-input:checked + .shrswtch-label {
    background: #34c759; /* hijau seperti iOS */
  }

  .shrswtch-input:checked + .shrswtch-label::after {
    transform: translateX(20px);
    background: white;
  }

  /* Efek fokus untuk aksesibilitas */
  .shrswtch-input:focus-visible + .shrswtch-label {
    outline: 2px solid #007aff;
    outline-offset: 2px;
  }

/* Responsive mobile */
@media (max-width: 600px) {
    .dash-edit-account form fieldset {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .dash-edit-account #edd_profile_display_name_wrap,
    .dash-edit-account #edd_profile_primary_email_wrap,
    .dash-edit-account #edd_profile_submit_wrap {
        grid-column: 1;
    }
}

/**********************
* My Favorites Conten
**********************/
.content-my-favorites input.gplshr-remove-favorite-btn {
    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;
}
.content-my-favorites input.gplshr-remove-favorite-btn: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;
}