.elementor-536 .elementor-element.elementor-element-4d3fe8e{--display:flex;--padding-top:-2px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}body.elementor-page-536:not(.elementor-motion-effects-element-type-background), body.elementor-page-536 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#EBEBEB;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-536 .elementor-element.elementor-element-4d3fe8e{--content-width:790px;--min-height:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}@media(min-width:768px){.elementor-536 .elementor-element.elementor-element-4d3fe8e{--content-width:900px;}}/* Start custom CSS for shortcode, class: .elementor-element-2d84cbf *//* ===============================
   Base Menu-item (untuk semua)
=================================*/
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    font-family: Arial, sans-serif;
    text-decoration: none;
    color: #333;
    background-color: #fff;
}

/* ===============================
   Tampilan A - Menu Profile (Sudah Login)
=================================*/
.menu-item.menu-profile.login {
    padding: 30px 20px;
    text-align: center;
    background: 
        linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
        url("https://i.ibb.co.com/DgTxBD4s/2-02.jpg");
    border-radius: 0px;
    border: 0px solid #eee;
    cursor: default;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

/* Foto Profile - Tampilan A */
.menu-item.menu-profile.login .profile-photo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

/* Nama User - Tampilan A */
.menu-item.menu-profile.login .profile-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FFFFFF;
}

/* Tombol Edit - Tampilan A */
.menu-item.menu-profile.login .edit-button {
    display: inline-block;
    padding: 5px 16px;
    background-color: #00C5FF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s;
    margin-top: -10px;
}
.menu-item.menu-profile.login .edit-button:hover {
    background-color: #079ac5;
}

/* Text daftar - Tampilan A */
.menu-item.menu-profile.login .register-text {
    font-size: 13px;
    margin-top: 15px;
    color: #fff;
    opacity: 0.9;
}

/* ===============================
   Tampilan B - Menu Profile (Belum Login)
=================================*/
.menu-item.menu-profile.logout {
    padding: 30px 20px;
    text-align: center;
    background: 
        linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
        url("https://i.ibb.co.com/DgTxBD4s/2-02.jpg");
    border-radius: 0px;
    border: 0px solid #eee;
    cursor: default;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

/* Foto Profile - Tampilan B */
.menu-item.menu-profile.logout .profile-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Pesan Login - Tampilan B */
.menu-item.menu-profile.logout .profile-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2; /* lebih rapat antar baris */
    color: #FFFFFF;
}

/* Tombol Masuk Sekarang - Tampilan B */
.menu-item.menu-profile.logout .edit-button {
    display: inline-block;
    padding: 8px 100px;
    background-color: #00C5FF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s;
    margin-top: -10px;
}
.menu-item.menu-profile.logout .edit-button:hover {
    background-color: #079ac5;
}

/* Text daftar - Tampilan B */
.menu-item.menu-profile.logout .register-text {
    font-size: 13px;
    margin-top: 15px;
    color: #fff;
    opacity: 0.9;
}

/* ===============================
   Menu List (sama untuk A & B)
=================================*/
.menu-item.menu-list {
    padding: 18px 20px;
    text-decoration: none !important;
    color: #333;
}
.menu-item.menu-list:hover {
    background-color: #f0f0f0;
    transform: translateX(3px);
}

/* Layout */
.menu-item .left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.menu-item .right {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Text */
.menu-item .text {
    font-size: 14px;
    font-weight: bold;
}
.menu-item .saldo {
    font-weight: 800;
    font-size: 14px;
    color: #00C5FF;
}
.menu-item .arrow {
    font-size: 20px;
    font-weight: bold;
    color: #00C5FF;
}

/* Icon */
.menu-item img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.level-with-icon {
    display: flex;
    align-items: center;
    gap: 6px;
}

.level-with-icon .level-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.menu-item .level {
    font-weight: 800;
    font-size: 14px;
    color: #00C5FF;
}

/* ========== RW EDIT PANEL (Full screen slide-in dari kanan) ========== */
.rw-edit-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 99999;
    transform: translateX(100%);
    transition: transform 360ms cubic-bezier(.22,.9,.27,1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* aktif */
.rw-edit-panel.rw-open {
    transform: translateX(0);
}

/* header */
.rw-edit-panel .rw-edit-header {
    display:flex;
    align-items:center;
    gap:12px;
    padding:8px;
    border-bottom:1px solid #eee;
    position: sticky;
    top:0;
    background:#06bc06;
    z-index:3;
}
.rw-edit-panel .rw-back-btn {
    font-size: 30px;
    cursor: pointer;
    padding: 10px 10px;

    /* Tambahan untuk menghapus gaya default */
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
    appearance: none;          /* Hilangkan default style di browser */
    -webkit-appearance: none;  /* Hilangkan default style di Safari iOS */
}
.rw-edit-panel .rw-edit-title {
    font-weight:700;
    font-size:16px;
    color: #fff;
}

/* body */
.rw-edit-panel .edit-profile-wrapper {
    width:100%;
    max-width:720px;
    margin:18px auto 60px;
    padding:12px;
    box-sizing:border-box;
}

/* card */
.rw-edit-panel .profile-card {
    background:#fff;
    padding:16px;
    border-radius:12px;
    margin-bottom:18px;
    box-shadow:0 3px 12px rgba(0,0,0,0.06);
}

/* avatar wrapper */
.rw-edit-panel .profile-avatar-box {
    margin-bottom:25px;
    text-align:center;
    position:relative;
}

/* Avatar (full match style lama) */
.rw-edit-panel .profile-avatar-box img.profile-avatar {
    width:120px !important;
    height:120px !important;
    aspect-ratio:1/1 !important;
    object-fit:cover !important;

    border-radius:50% !important;
    overflow:hidden;

    border:4px solid #ffffff;

    /* Premium shadow sama persis */
    box-shadow:
        0 0 0 4px rgba(255,255,255,0.5),
        0 6px 20px rgba(0,0,0,0.18),
        0 10px 30px rgba(0,0,0,0.10);

    background:radial-gradient(circle at center, #ffffff 40%, #e8e8e8 100%);
    display:block;
    margin:0 auto;
}

/* ================================
   FIX — Tombol Edit Foto seperti versi lama
================================ */
.rw-edit-panel .avatar-edit-btn {
    position:absolute;
    bottom:5px;
    right:calc(50% - 75px);
    background:#2271b1;
    padding:6px 12px;
    border-radius:20px;
    color:white;
    font-size:12px;
    cursor:pointer;
    box-shadow:0 4px 10px rgba(0,0,0,0.2);
    z-index:5;
    transition:background .25s;
}

.rw-edit-panel .avatar-edit-btn:hover {
    background:#1c5c8c;
}

/* save button */
.rw-edit-panel .save-btn {
    width:100%;
    padding:12px 0;
    border-radius:10px;
    background:#2271b1;
    color:#fff;
    border:0;
    font-size:16px;
    cursor:pointer;
}
.rw-edit-panel .save-btn:hover {
    background:#1a5b8f;
}

/* disabled inputs */
.input-disabled {
    background-color:#f2f2f2 !important;
    color:#777 !important;
    cursor:not-allowed;
    opacity:0.8;
}

/* ===============================
   RW SUCCESS POPUP — Modern UI
================================*/
.rw-success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    z-index: 999999;
}

/* aktif */
.rw-success-popup.show {
    opacity: 1;
    pointer-events: auto;
}

/* kotak popup */
.rw-success-box {
    background: #ffffff;
    padding: 26px 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transform: scale(0.8);
    opacity: 0;
    transition: all .35s cubic-bezier(.18,.89,.32,1.28);
}

/* animasi muncul */
.rw-success-popup.show .rw-success-box {
    transform: scale(1);
    opacity: 1;
}

/* icon centang */
.rw-success-box .icon-check {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #4cd964, #32c95a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(50,200,100,0.45);
    animation: popIn .45s ease-out;
}

/* teks */
.rw-success-box p {
    font-size: 17px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

/* Animasi icon */
@keyframes popIn {
    0% { transform: scale(0.4); opacity: 0; }
    60% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
}



@keyframes rwPopIn {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.rw-success-box .icon-check {
    font-size: 42px;
    color: #2ecc71;
    margin-bottom: 12px;
}

.rw-success-box p {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}


/* responsive */
@media (min-width: 768px) {
    .rw-edit-panel .edit-profile-wrapper {
        padding:20px;
    }
}

/* no js fallback */
html.no-js .rw-edit-panel { display:none !important; }/* End custom CSS */