body { background: #e2e2e2; min-height: 100vh; margin: 0; font-family:sans-serif; }
.content { padding:10px 6px 80px 6px; position: relative; z-index: 1; }
.profile-header {
    background: linear-gradient(120deg, #ff7043 0%, #ff9800 100%);
    padding: 16px;
    display:flex; 
    align-items:center;
    gap: 12px;
    border-radius: 16px;
    margin-bottom: 7px !important;
    color: #fff;
    position: relative;
    box-shadow: 0 4px 24px #ff704333;
}
.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 0;
    background: transparent;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow: visible;
    flex-shrink: 0;
}
.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #fff;
}
.profile-name {
    font-size:1.1em;
    font-weight:600;
}
.profile-id {
    font-size:0.9em;
    opacity: 0.9;
}
.premium-badge.badge-free {
    background: #176b3a;
    color: #fff;
}
.premium-badge.badge-silver {
    background: #b83280;
    color: #fff;
}
.premium-badge.badge-gold {
    background: linear-gradient(90deg, #ff9800 0%, #ffd700 100%);
    color: #fff;
}
.premium-badge.badge-diamond {
    background: linear-gradient(90deg, #00c6fb 0%, #005bea 100%);
    color: #fff;
}
.premium-badge {
    background-color: #2ecc71;
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.8em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}
.premium-badge i {
    font-size: 0.9em;
}
.profile-referral, .profile-info-link {
    display: none;
}
.saldo-row {
    display:flex;
    gap: 8px;
    justify-content:center;
    margin-top: 8px !important;
}
.saldo-box {
    flex:1 1 0; background:linear-gradient(120deg,#fffbe7 0%,#ffe0b2 100%); border-radius:18px; box-shadow:inset 0 2px 12px #00000018; padding:20px 14px 16px 18px; display:flex; flex-direction:column; align-items:flex-start; position:relative;
    border: 1.5px solid #ff9800;
}
.saldo-box.kupon {
    background:linear-gradient(120deg,#ede7f6 0%,#d1c4e9 100%);
    border: 1.5px solid #7c4dff;
}
.saldo-icon {
    position: absolute;
    right: 14px;
    bottom: 14px;
    top: auto;
    font-size: 1.3em;
    opacity: 0.18;
}
.saldo-poin-label {
    display:flex; align-items:center; gap:2px; font-size:1.08em; font-weight:600; color:#ff9800;
}
.saldo-poin-label .tebus-badge {
    background:#ff4081; color:#fff; border-radius:8px; padding:2px 10px; font-size:0.85em; font-weight:bold; margin-left:2px;
}
.saldo-poin-label a {
    text-decoration: none;
}
.saldo-poin-value { font-size:1.5em; font-weight:700; color:#ff9800; margin:4px 0 0 0; letter-spacing:1px; }
.saldo-poin-rp { font-size:0.85em; color: #888; margin-top: 2px; }
.saldo-kupon-label {
    display:flex; align-items:center; gap:6px; font-size:1.08em; font-weight:600; color:#7c4dff;
}
.saldo-kupon-label .kupon-badge {
    background:#7c4dff; color:#fff; border-radius:8px; padding:2px 10px; font-size:0.85em; font-weight:bold; margin-left:6px;
    transition: background-color 0.2s ease;
}
.saldo-box.kupon:hover .kupon-badge {
    background: #6536d9;
}
.saldo-kupon-value { font-size:1.5em; font-weight:700; color:#7c4dff; margin:4px 0 0 0; letter-spacing:1px; }
.saldo-kupon-rp { font-size:0.85em; color: #888; margin-top: 2px; }

.menu-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-top: 7px !important;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
    font-size: 1em;
}

.menu-item:not(:last-child) {
    border-bottom: 1px solid #f2f2f2;
}

.menu-item:hover {
    background-color: #f9fafb;
}

.menu-item i[class*="menu-icon-"] {
    font-size: 1.1em;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 16px;
}

.menu-icon-upgrade {
    color: #fff;
    background: linear-gradient(135deg, #ff7e5f, #feb47b, #ff9800, #ff7043);
    background-size: 300% 300%;
    animation: orangeGradientMove 3s linear infinite;
}

@keyframes orangeGradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.menu-icon-reward { color: #fff; background: linear-gradient(135deg, #ff5f7e, #ff8c6b); }
.menu-icon-id { color: #fff; background: linear-gradient(135deg, #5f9dff, #6bafff); }
.menu-icon-help { color: #fff; background: linear-gradient(135deg, #4da1ff, #4dd2ff); }
.menu-icon-settings { color: #fff; background: linear-gradient(135deg, #9d9d9d, #b2b2b2); }
.menu-icon-link { color: #fff; background: linear-gradient(135deg, #5f5fff, #8f5fff); }

.menu-item.upgrade-animated .menu-label {
    background: linear-gradient(90deg, #ff9800, #ff7043, #feb47b, #ff9800);
    background-size: 300% 300%;
    animation: orangeTextGradientMove 3s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-weight: 700;
}

@keyframes orangeTextGradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.menu-item.upgrade-animated .menu-icon-upgrade {
    animation: upgradePulse 1.2s infinite cubic-bezier(.66,0,.34,1);
}

@keyframes upgradePulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 0 #ff9800); }
    50% { transform: scale(1.18); filter: drop-shadow(0 0 8px #ff9800aa); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0 #ff9800); }
}

.menu-label {
    flex-grow: 1;
    font-weight: 500;
}

.menu-badge {
    background-color: #ffebee;
    color: #ff5252;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
    margin-left: 8px;
}

.menu-arrow {
    color: #cccccc;
    font-size: 0.9em;
    margin-left: 8px;
}

#copy-id-item .menu-id-value {
    color: #5f9dff;
    font-weight: 600;
    font-size: 1em;
    margin-left: auto;
    margin-right: 12px;
    font-family: 'monospace';
}

#copy-id-item .copy-btn {
    background: #eef5ff;
    color: #5f9dff;
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9em;
}

#copy-id-item .copy-btn:hover {
    background: #e0ecff;
    transform: scale(1.05);
}

#copy-id-item .copy-btn.copied {
    background: #d4edda;
    color: #155724;
}

.nav-bottom { 
    position:fixed; 
    left:0; 
    right:0; 
    bottom:0; 
    background:linear-gradient(120deg, #ff9800 0%, #ff7043 100%);
    display:flex; 
    justify-content:space-around; 
    align-items:center; 
    height:65px; 
    z-index:100; 
    box-shadow:0 -6px 28px rgba(255, 112, 67, 0.35);
    border-radius:20px 20px 0 0;
}
.nav-bottom a { 
    color:rgba(255,255,255,0.8); 
    text-decoration:none; 
    display:flex; 
    flex-direction:column; 
    align-items:center; 
    font-size:0.85em; 
    font-weight:500;
    transition:all 0.3s ease;
    padding:8px 12px; 
    border-radius:12px; 
    position:relative;
    -webkit-tap-highlight-color: transparent;
}
.nav-bottom a.active { 
    color:#ffffff; 
    background:rgba(255,255,255,0.15); 
    transform:translateY(-3px) scale(1.05);
}
.nav-bottom i { 
    font-size:1.8em; 
    margin-bottom:4px; 
    transition:all 0.3s ease;
}
.nav-bottom a:active i {
    transform: scale(0.9);
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
    50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}
@media (max-width: 480px) {
    .profile-header {
        padding: 16px;
        gap: 12px;
    }
    .profile-avatar {
        width: 56px; height: 56px;
    }
    .profile-name {
        font-size: 1.05em;
    }
    .profile-id {
        font-size: 0.85em;
    }
    .saldo-row {
        gap: 8px;
        margin-top: 16px;
        flex-wrap: nowrap;
        display: flex;
    }
    .saldo-box, .saldo-box.kupon {
        padding: 10px 4px 8px 8px;
        border-radius: 12px;
        flex: 1 1 0;
        min-width: 0;
        box-sizing: border-box;
        margin-bottom: 0;
    }
    .saldo-poin-label, .saldo-kupon-label {
        font-size: 0.98em;
    }
    .saldo-poin-value, .saldo-kupon-value {
        font-size: 1.1em;
    }
    .saldo-icon {
        right: 8px;
        bottom: 8px;
        top: auto;
        left: auto;
        font-size: 1.1em;
    }
    .menu-list {
        border-radius: 12px;
        margin-top: 18px;
    }
    .menu-item {
        padding: 11px 10px;
        font-size: 0.98em;
    }
    .menu-item i {
        font-size: 1.1em;
        margin-right: 10px;
    }
    .nav-bottom {
        height: 65px;
        border-radius: 16px 16px 0 0;
    }
    .nav-bottom a {
        padding: 10px 12px;
        font-size: 0.8em;
    }
    .nav-bottom i {
        font-size: 1.4em;
    }
    .nav-bottom a.active::before {
        width: 5px;
        height: 5px;
    }
    .menu-item i {
        font-size: 1.1em;
        margin-right: 10px;
    }
    .menu-card {
        border-radius: 12px;
        margin-top: 22px;
    }
    .menu-item {
        padding: 14px 12px;
        font-size: 0.95em;
    }
    .menu-item i[class*="menu-icon-"] {
        width: 30px;
        height: 30px;
        font-size: 1em;
        margin-right: 12px;
    }
    #copy-id-item .menu-id-value {
        font-size: 0.95em;
    }
    #copy-id-item .copy-btn {
        padding: 6px 10px;
        font-size: 0.85em;
    }
    .modal-box {
        width: 95%;
        border-radius: 16px;
    }
    .modal-title {
        font-size: 1.1em;
        padding: 12px 14px;
    }
    .modal-content {
        padding: 14px;
    }
    .modal-btn-row {
        padding: 0 14px 14px 14px;
    }
    .modal-btn {
        padding: 10px 16px;
        font-size: 0.95em;
    }
    .modal-input {
        padding: 10px 65px 10px 55px;
    }
    .content {
        padding: 10px 6px 80px 6px;
    }
    .saldo-poin-rp, .saldo-kupon-rp { font-size: 0.75em; }
} 

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    backdrop-filter: blur(8px);
}
.modal-box {
    background: #fffbe7;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: modal-fade-in 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@keyframes modal-fade-in {
    from { opacity: 0; transform: translateY(-20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes animated-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.modal-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(120deg, #ff7043 0%, #ff9800 100%);
    padding: 14px 18px;
}
.modal-content {
    padding: 16px 18px 12px 18px;
}
.modal-content .kupon-balance {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 8px;
    text-align: center;
}
.modal-content .convert-rate {
    background: #f4f4f9;
    padding: 8px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.95em;
    color: #333;
    margin-bottom: 12px;
}
.modal-content .input-group {
    margin-bottom: 10px;
}
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.convert-input-icon {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 45px;
    background: #ff9800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 0 0 12px;
    font-size: 1.2em;
}
.modal-content .input-group label {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 8px;
}
.modal-input {
    width: 100%;
    padding: 10px 65px 10px 55px;
    border: 1px solid #e0e0e0;
    background-color: #fdfdff;
    border-radius: 12px;
    font-size: 1em;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}
.modal-input:focus {
    outline: none;
    border-color: #ff9800;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.2);
}
.max-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff3e0;
    color: #ff8f00;
    border: none;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 0.8em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.max-btn:hover {
    background: #ffe0b2;
}
.modal-content .conversion-result {
    text-align: center;
    font-size: 1.1em;
    font-weight: 500;
    color: #ff8f00;
    margin-top: 8px;
}
.modal-btn-row {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 0;
    padding: 0 18px 18px 18px;
}
.modal-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    transform: translateY(0);
}
.modal-btn.cancel {
    background: #f1f1f1;
    color: #555;
}
.modal-btn.cancel:hover {
    background: #e7e7e7;
    transform: translateY(-1px);
}
#submitConvert {
    background: linear-gradient(120deg, #ff7043 0%, #ff9800 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 112, 67, 0.3);
    animation: pulse-shadow 2s infinite;
}
@keyframes pulse-shadow {
    0% { box-shadow: 0 4px 15px rgba(255, 112, 67, 0.3); }
    50% { box-shadow: 0 6px 25px rgba(255, 112, 67, 0.45); }
    100% { box-shadow: 0 4px 15px rgba(255, 112, 67, 0.3); }
}
#submitConvert:hover {
    box-shadow: 0 6px 20px rgba(255, 112, 67, 0.4);
    transform: translateY(-2px);
    animation: none; /* Stop pulsing on hover for a direct interaction feel */
}

/* Redeem Code Modal Styles */
.redeem-modal-box {
    background: #f7f8fa;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    animation: modal-fade-in 0.3s ease-out;
}

.redeem-modal-header {
    background: linear-gradient(120deg, #ff7043 0%, #ff9800 100%);
    color: #fff;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.redeem-modal-title {
    font-size: 1.1em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-redeem-modal {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8em;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
}

.redeem-modal-body {
    padding: 16px;
    text-align: center;
}

.redeem-icon-large {
    font-size: 2.8em;
    color: #ff9800;
    margin-bottom: 10px;
    opacity: 0.8;
    animation: swing-gift 2.5s ease-in-out infinite;
}

.redeem-modal-body h3 {
    font-size: 1.3em;
    color: #ff8f00;
    font-weight: 700;
    margin: 0 0 14px 0;
}

.redeem-input-container {
    position: relative;
    margin-bottom: 10px;
}

.redeem-input-icon {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background: #ff9800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 0 0 8px;
    font-size: 1.1em;
}

.redeem-input {
    width: 100%;
    padding: 12px 14px 12px 55px; /* space for icon */
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
}

.telegram-info {
    background: #fffbe7;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 10px;
    margin-bottom: 14px;
    color: #333;
}

.telegram-info i {
    color: #ff9800;
    font-size: 1.3em;
}

.telegram-info p {
    margin: 0;
    line-height: 1.4;
    font-size: 0.85em;
}

.telegram-info strong {
    font-size: 1.05em;
}

.redeem-btn-primary, .redeem-btn-secondary {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.redeem-btn-primary {
    background: linear-gradient(120deg, #ff7043 0%, #ff9800 100%);
    color: #fff;
    margin-bottom: 8px;
}
.redeem-btn-primary:hover {
    opacity: 0.9;
}

.redeem-btn-secondary {
    background: #fff3e0;
    color: #ff8f00;
}
.redeem-btn-secondary:hover {
    background: #ffe0b2;
}
@media (max-width: 480px) {
    .redeem-modal-body {
        padding: 14px;
    }
    .redeem-icon-large {
        font-size: 2.5em;
        margin-bottom: 10px;
    }
    .redeem-modal-body h3 {
        font-size: 1.2em;
        margin-bottom: 12px;
    }
    .redeem-btn-primary, .redeem-btn-secondary {
        padding: 12px;
        font-size: 1em;
    }
    .telegram-info {
        padding: 8px;
        gap: 8px;
    }
    .telegram-info p {
        font-size: 0.85em;
    }
}

@keyframes swing-gift {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(10deg); }
    30% { transform: rotate(-8deg); }
    45% { transform: rotate(6deg); }
    60% { transform: rotate(-4deg); }
    75% { transform: rotate(2deg); }
    100% { transform: rotate(0deg); }
}

/* Help Center Modal Styles */
.help-modal-box {
    background: #fffbe7;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    animation: modal-fade-in 0.3s ease-out;
    font-family: 'sans-serif';
}

.help-modal-header {
    background: linear-gradient(120deg, #ff7043 0%, #ff9800 100%);
    color: #fff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.help-modal-title {
    font-size: 1.1em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-help-modal {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.7em;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
}

.help-modal-body {
    padding: 16px;
    text-align: center;
}

.help-modal-body h3 {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-top: 5px;
    margin-bottom: 10px;
}

.help-modal-body .divider {
    height: 3px;
    width: 40px;
    background-color: #ff8c00;
    border-radius: 2px;
    margin: 0 auto 15px auto;
}

.help-btn-primary,
.help-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: 250px;
    padding: 12px 20px;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    margin: 0 auto 10px auto;
    transition: background-color 0.2s, transform 0.1s;
    text-decoration: none;
}

.help-btn-primary {
    background-color: #ff8c00;
    color: #fff;
}

.help-btn-primary:hover {
    background-color: #e67e00;
}

.help-btn-secondary {
    background-color: #ffe8cc;
    color: #ff8c00;
    border: 1px solid #ffcf99;
}

.help-btn-secondary:hover {
    background-color: #ffddb3;
}

.help-info-box {
    background-color: #fff8f0;
    border: 1px solid #ffe8cc;
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
}

.info-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #555;
    line-height: 1.4;
    font-size: 0.9em;
}

.info-line:not(:last-child) {
    margin-bottom: 8px;
}

.info-line i {
    color: #ff9800;
    padding-top: 3px;
}

.success-modal-box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.18);
    padding: 24px 18px 18px 18px;
    max-width: 400px;
    width: 90vw;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: popupFadeIn 0.5s cubic-bezier(.4,2,.3,1);
    position: relative;
}
.success-icon-anim {
    font-size: 3.5em;
    color: #4caf50;
    margin-bottom: 18px;
    animation: popScale 0.6s cubic-bezier(.4,2,.3,1);
}
.success-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}
.success-points {
    font-size: 1.5em;
    font-weight: bold;
    color: #ff9800;
    margin-bottom: 24px;
    text-align: center;
}
#closeSuccessConvert.modal-btn {
    background: linear-gradient(90deg, #ff7043 0%, #ff9800 100%);
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    padding: 10px 32px;
    box-shadow: 0 2px 8px #ff980033;
    cursor: pointer;
    margin-top: 0;
    transition: background 0.2s, transform 0.2s;
}
#closeSuccessConvert.modal-btn:hover {
    background: linear-gradient(90deg, #ff9800 0%, #ff7043 100%);
    transform: scale(1.04);
}
@keyframes popupFadeIn {
    0% { opacity: 0; transform: translateY(40px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes popScale {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
/* Loading overlay for konversi */
#convertLoadingOverlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    color: #ff9800;
    font-weight: bold;
    pointer-events: all;
}
#convertLoadingOverlay > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#convertLoadingOverlay .spinner {
    border: 5px solid #ff9800;
    border-top: 5px solid #ff7043;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
    display: block;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.label-kecil {
    font-size: 0.7em;
    opacity: 0.7;
    font-weight: 400;
} 