* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Mobile Touch Optimization */
button, input, select, textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Prevent zoom on input focus */
@media (max-width: 768px) {
    input, textarea, select {
        font-size: 16px;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #F5F5F5;
    color: #0a0a0a;
    line-height: 1.6;
}

/* Header Styles */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: #FFFFFF;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-left .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: bold;
}

.header-left .logo i {
    color: #ff0050;
    font-size: 28px;
}

.header-left .logo span {
    color: #000;
}

.header-center {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    margin: 0 4px;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
}

.header-left { margin-right: 300px; }
.header-right { margin-left: 4px; }

.search-bar {
    position: relative;
    background-color: #f1f1f1;
    border: 1px solid #e6e6e6;
    border-radius: 24px;
    padding: 14px 48px 14px 16px;
    display: flex;
    align-items: center;
    width: 600px;
    max-width: 56vw;
}

.search-bar i {
    color: #9aa0a6;
    position: absolute;
    right: 14px;
    pointer-events: none;
}

.search-bar input {
    background: none;
    border: none;
    outline: none;
    color: #111;
    flex: 1;
    font-size: 14px;
}

.search-bar input::placeholder {
    color: #9aa0a6;
}

/* right divider in search bar */
.search-bar::after {
    content: "";
    position: absolute;
    right: 40px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #e0e0e0;
    border-radius: 1px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.upload-btn {
    background-color: #ffffff;
    color: #111;
    border: 1px solid #e6e6e6;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.upload-btn i { color: #111; }

.upload-btn:hover {
    background-color: #F8F8F8;
    border-color: #dcdcdc;
}
.icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.icon-btn:hover {
    background-color: #eee;
}

.header .icon-btn i {
    color: #000;
}

/* style for the newly added SVG icon next to Upload */
.header-right .icon-btn svg {
    width: 28px;
    height: 28px;
    color: #111;
}

/* enlarge inbox icon slightly more */
.header-right .icon-btn .css-148ad5k-be0858f9--StyledInboxIcon {
    width: 32px;
    height: 32px;
}

.notification .badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #ff0050;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}

.profile-icon img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
}

.profile-icon svg {
    width: 32px;
    height: 32px;
    background: #000;
    border-radius: 50%;
    padding: 4px;
}

/* Main Content */
.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px;
}

.container {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
}

/* Get Coins Section */
.get-coins-section h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 24px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-link {
    font-weight: 700;
    color: #111;
    text-decoration: none;
}

.section-link:hover {
    text-decoration: underline;
}

.user-info {
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.user-profile {
    background-color: #F8F8F8;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 32px;
    border-radius: 12px;
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.user-profile svg {
    width: 48px;
    height: 48px;
    background: #000;
    border-radius: 50%;
    padding: 8px;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.username {
    font-size: 20px;
    font-weight: 700;
}

.coin-balance {
    font-size: 16px;
    color: #ffd700;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.coin-balance svg {
    width: 20px;
    height: 20px;
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.coin-number {
    color: #050505;
    font-weight: 500;
}

.user-actions {
    background-color: #F8F8F8;
    display: flex;
    gap: 24px;
    align-items: center;
}

.gift-card, .invite-rewards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gift-card span, .invite-rewards span {
    font-size: 14px;
    color: #999;
}

.gift-card input {
    background-color: #333;
    border: 1px solid #555;
    border-radius: 4px;
    padding: 8px 12px;
    color: #fff;
    font-size: 14px;
    width: 150px;
}

.gift-card input::placeholder {
    color: #999;
}

.invite-code {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #333;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
}

.invite-code i {
    cursor: pointer;
    color: #ff0050;
}

.transaction-history {
    color: #ff0050;
    text-decoration: none;
    font-size: 14px;
}

/* Recharge Section */
.recharge-section {
    margin-top: 32px;
}

/* Username Input Section */
.username-input-section {
    margin-bottom: 20px;
}

.username-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    padding: 12px 16px;
    transition: all 0.2s;
    width: 33%;
    max-width: 300px;
}

.username-input-wrapper:focus-within {
    border-color: #FE2C55;
    background-color: #fff;
}

.user-avatar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar-icon svg {
    width: 24px;
    height: 24px;
}

.username-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #333;
    outline: none;
}

.username-input::placeholder {
    color: #999;
    font-size: 16px;
}

.recharge-banner {
    background: transparent;
    padding: 0 2px 12px 2px;
    border-radius: 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
}

.recharge-banner .rb-title {
    font-weight: 700;
    color: #111;
}

.recharge-banner .rb-desc {
    font-weight: 700;
    color: #fe2c55;
}

.recharge-banner .fas.fa-info-circle {
    color: #cccccc;
    font-size: 16px;
}

/* Coin Packages */
.coin-packages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 24px;
}

.package {
    background-color: #F8F8F8;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.package:hover {
    background-color: #FFD9E0;
    border-color: #ff0050;
    transform: translateY(-2px);
}

.package.selected {
    border-color: #fe2c55;
    background-color: #FFD9E0;
}

.package.selected:hover {
    border-color: #fe2c55;
}

.package .coin-amount {
    font-size: 26px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.package .coin-label {
    font-size: 12px;
    color: #8a8a8a;
    margin-bottom: 8px;
}

.package .price {
    font-size: 16px;
    font-weight: 600;
    color: #6b6b6b;
}

.package.custom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.custom-label {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 4px;
}

.custom-desc {
    font-size: 14px;
    font-weight: 500;
    color: #999;
}

.custom-input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 26px;
    font-weight: 700;
    color: #111;
    text-align: center;
    width: 130px;
    padding: 0;
    margin: 0;
    caret-color: #111;
}

.custom-input::placeholder {
    color: #111;
    font-weight: 700;
}

.input-underline {
    width: 150px;
    height: 2px;
    background-color: #111;
    margin: 4px auto 8px auto;
}

.range-desc {
    font-size: 12px;
    color: #8a8a8a;
}

/* Special Offer */
.special-offer {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.offer-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.offer-header i {
    color: #ff0050;
}

.offer-content {
    margin-top: 8px;
    font-size: 14px;
    color: #999;
}

/* Payment Section */
.payment-section {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 20px;
}

.payment-methods {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.payment-methods span {
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-logo {
    background-color: #f5f5f5;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #111;
    
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-logo img {
    max-width: 24px;
    max-height: 14px;
    object-fit: contain;
}
/* neutralize brand colors for placeholder logos */
.payment-logo.visa,
.payment-logo.mastercard,
.payment-logo.amex,
.payment-logo.jcb,
.payment-logo.ovo,
.payment-logo.gopay,
.payment-logo.dana,
.payment-logo.linkaja,
.payment-logo.shopeepay,
.payment-logo.alfamart,
.payment-logo.indomaret,
.payment-logo.more { background-color: #f5f5f5; }

.total-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
}

.button-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
}

.total-amount {
    display: flex;
    align-items: center;
    gap: 8px;
}

.total-amount span:first-child {
    font-size: 14px;
    color: #8a8a8a;
}

.total-price {
    font-size: 16px;
    font-weight: 700;
    color: #070707;
}

.recharge-btn {
    background: #fe2c55;
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    flex: 1;
    max-width: 20%;
}

.recharge-btn:hover {
    transform: translateY(-2px);
    filter: brightness(0.98);
}

.secure-payment {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Bottom Invite Section */
.bottom-invite {
    margin-top: 32px;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 16px;
}

.invite-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.invite-content span:first-child {
    font-size: 16px;
    font-weight: 500;
}

.invite-content span:last-child {
    font-size: 14px;
    color: #999;
}

.invite-content i {
    color: #ff0050;
    font-size: 16px;
}

/* Right Sidebar */
.right-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1000;
}

.floating-icon {
    width: 50px;
    height: 50px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.floating-icon:hover {
    background-color: #555;
    transform: scale(1.1);
}

.floating-icon.live {
    background-color: #ff0050;
    color: white;
    font-weight: bold;
    font-size: 12px;
    flex-direction: column;
    gap: 2px;
}

.floating-icon.live i {
    font-size: 16px;
}

/* Mobile Detection - Hide Header */
.mobile-detected .header {
    display: none !important;
}

.mobile-detected .main-content {
    padding-top: 0 !important;
}

/* Mobile Detection - Left Align User Profile */
.mobile-detected .user-profile {
    justify-content: flex-start !important;
    text-align: left !important;
}

.mobile-detected .user-details {
    align-items: flex-start !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
}

.mobile-detected .username {
    text-align: left !important;
    align-self: flex-start !important;
}

.mobile-detected .coin-balance {
    justify-content: flex-start !important;
    text-align: left !important;
    align-self: flex-start !important;
    display: flex !important;
    align-items: center !important;
}

.mobile-detected .coin-number {
    text-align: left !important;
}

/* Mobile Detection - Credit Card Number Single Line */
.mobile-detected span[style*="font-family: monospace"] {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 14px !important;
    max-width: 180px !important;
}

/* Mobile Detection - Credit Card Container */
.mobile-detected div[style*="background-color: #f8f8f8"] {
    flex-wrap: nowrap !important;
    overflow: hidden !important;
}

.mobile-detected div[style*="display: flex; align-items: center; gap: 12px"] {
    flex-shrink: 1 !important;
    min-width: 0 !important;
}

/* Mobile Detection - Custom Input Number Optimization */
.mobile-detected .custom-input[type="number"] {
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
    appearance: none !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333 !important;
    text-align: center !important;
    width: 100% !important;
    padding: 0 !important;
}

.mobile-detected .custom-input[type="number"]::-webkit-outer-spin-button,
.mobile-detected .custom-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.mobile-detected .recharge-banner {
    text-align: left !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 12px 0 !important;
    align-items: flex-start !important;
}

.mobile-detected .recharge-banner .rb-title {
    font-size: 18px !important;
    line-height: 1.2 !important;
    text-align: left !important;
    align-self: flex-start !important;
}

.mobile-detected .recharge-banner .rb-desc {
    font-size: 13px !important;
    line-height: 1.3 !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
    text-align: left !important;
    align-self: flex-start !important;
}

.mobile-detected .recharge-banner .fas.fa-info-circle {
    align-self: flex-start !important;
    margin-top: 2px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .header {
        display: none;
    }
    
    .main-content {
        padding-top: 0;
    }
    
    .header-center {
        display: none;
    }
    
    .header-right {
        gap: 12px;
    }
    
    .upload-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .main-content {
        padding: 16px 12px;
    }
    
    .container {
        padding: 20px 16px;
        border-radius: 8px;
    }
    
    .get-coins-section h1 {
        font-size: 28px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .user-info {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .user-profile {
        padding: 16px 20px;
        justify-content: flex-start !important;
        text-align: left !important;
    }
    
    .user-details {
        align-items: flex-start !important;
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .username {
        text-align: left !important;
        align-self: flex-start !important;
    }
    
    .coin-balance {
        justify-content: flex-start !important;
        text-align: left !important;
        align-self: flex-start !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .coin-number {
        text-align: left !important;
    }
    
    /* Credit Card Number Single Line for Mobile */
    span[style*="font-family: monospace"] {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 14px !important;
        max-width: 180px !important;
    }
    
    /* Custom Input Number Optimization for Mobile */
    .custom-input[type="number"] {
        -webkit-appearance: none !important;
        -moz-appearance: textfield !important;
        appearance: none !important;
        border: none !important;
        outline: none !important;
        background: transparent !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #333 !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 !important;
    }
    
    .custom-input[type="number"]::-webkit-outer-spin-button,
    .custom-input[type="number"]::-webkit-inner-spin-button {
        -webkit-appearance: none !important;
        margin: 0 !important;
    }
    
    .user-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        background-color: transparent;
        padding: 0;
    }
    
    .gift-card, .invite-rewards {
        background-color: #f8f8f8;
        padding: 12px;
        border-radius: 8px;
    }
    
    .username-input-wrapper {
        width: 100%;
        max-width: none;
    }
    
    .recharge-banner {
        text-align: left;
        flex-direction: column;
        gap: 6px;
        padding: 12px 0;
        align-items: flex-start;
    }
    
    .recharge-banner .rb-title {
        font-size: 18px;
        line-height: 1.2;
        text-align: left;
        align-self: flex-start;
    }
    
    .recharge-banner .rb-desc {
        font-size: 13px;
        line-height: 1.3;
        word-wrap: break-word;
        max-width: 100%;
        text-align: left;
        align-self: flex-start;
    }
    
    .recharge-banner .fas.fa-info-circle {
        align-self: flex-start;
        margin-top: 2px;
    }
    
    .coin-packages {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .package {
        padding: 12px 8px;
        border-radius: 8px;
    }
    
    .package .coin-amount {
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .package .coin-amount svg {
        width: 16px;
        height: 16px;
    }
    
    .package .price {
        font-size: 12px;
    }
    
    .custom-input {
        font-size: 14px;
    }
    
    .payment-methods {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .payment-methods span {
        text-align: center;
    }
    
    .payment-logos {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .payment-logo {
        min-width: 48px;
        padding: 6px 8px;
        font-size: 11px;
    }
    
    .total-section {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-top: 20px;
    }
    
    .total-amount {
        justify-content: center;
        font-size: 18px;
    }
    
    .button-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .recharge-btn {
        max-width: none;
        width: 100%;
        padding: 16px;
        font-size: 18px;
    }
    
    .secure-payment {
        justify-content: center;
    }
    
    .right-sidebar {
        display: none;
    }
    
    .floating-icon {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 12px 8px;
    }
    
    .container {
        padding: 16px 12px;
    }
    
    .get-coins-section h1 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .user-profile {
        padding: 12px 16px;
        gap: 12px;
        justify-content: flex-start !important;
        text-align: left !important;
    }
    
    .user-details {
        align-items: flex-start !important;
        text-align: left !important;
    }
    
    .username {
        text-align: left !important;
    }
    
    .coin-balance {
        justify-content: flex-start !important;
        text-align: left !important;
    }
    
    .coin-number {
        text-align: left !important;
    }
    
    /* Credit Card Number Single Line for Small Mobile */
    span[style*="font-family: monospace"] {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 13px !important;
        max-width: 160px !important;
    }
    
    /* Custom Input Number Optimization for Small Mobile */
    .custom-input[type="number"] {
        -webkit-appearance: none !important;
        -moz-appearance: textfield !important;
        appearance: none !important;
        border: none !important;
        outline: none !important;
        background: transparent !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #333 !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 !important;
    }
    
    .custom-input[type="number"]::-webkit-outer-spin-button,
    .custom-input[type="number"]::-webkit-inner-spin-button {
        -webkit-appearance: none !important;
        margin: 0 !important;
    }
    
    .user-profile svg {
        width: 40px;
        height: 40px;
    }
    
    .username {
        font-size: 18px;
    }
    
    .coin-balance {
        font-size: 14px;
    }
    
    .coin-balance svg {
        width: 16px;
        height: 16px;
    }
    
    .recharge-banner .rb-title {
        font-size: 16px;
    }
    
    .recharge-banner .rb-desc {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .coin-packages {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .package {
        padding: 16px 12px;
    }
    
    .package .coin-amount {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .package .coin-amount svg {
        width: 18px;
        height: 18px;
    }
    
    .package .price {
        font-size: 14px;
    }
    
    .payment-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .payment-logo {
        min-width: auto;
        padding: 8px 6px;
        font-size: 10px;
    }
    
    .total-amount {
        font-size: 16px;
    }
    
    .recharge-btn {
        padding: 18px;
        font-size: 16px;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 12px 8px;
    }
    
    .user-profile {
        padding: 12px;
        gap: 10px;
        justify-content: flex-start !important;
        text-align: left !important;
    }
    
    .user-details {
        align-items: flex-start !important;
        text-align: left !important;
    }
    
    .username {
        text-align: left !important;
    }
    
    .coin-balance {
        justify-content: flex-start !important;
        text-align: left !important;
    }
    
    .coin-number {
        text-align: left !important;
    }
    
    /* Credit Card Number Single Line for Extra Small Mobile */
    span[style*="font-family: monospace"] {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 12px !important;
        max-width: 140px !important;
    }
    
    /* Custom Input Number Optimization for Extra Small Mobile */
    .custom-input[type="number"] {
        -webkit-appearance: none !important;
        -moz-appearance: textfield !important;
        appearance: none !important;
        border: none !important;
        outline: none !important;
        background: transparent !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #333 !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 !important;
    }
    
    .custom-input[type="number"]::-webkit-outer-spin-button,
    .custom-input[type="number"]::-webkit-inner-spin-button {
        -webkit-appearance: none !important;
        margin: 0 !important;
    }
    
    .coin-packages {
        gap: 8px;
    }
    
    .package {
        padding: 12px 8px;
    }
    
    .package .coin-amount {
        font-size: 16px;
    }
    
    .package .coin-amount svg {
        width: 14px;
        height: 14px;
    }
    
    .package .price {
        font-size: 12px;
    }
    
    .recharge-banner .rb-title {
        font-size: 15px;
    }
    
    .recharge-banner .rb-desc {
        font-size: 11px;
        line-height: 1.4;
    }
}

/* Dialog Responsive Styles */
@media (max-width: 768px) {
    .order-summary-dialog,
    .recharge-dialog,
    .success-dialog {
        padding: 24px !important;
        width: 95% !important;
        max-width: 400px !important;
        border-radius: 12px !important;
    }
    
    .order-summary-dialog h3,
    .recharge-dialog h3,
    .success-dialog h3 {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }
    
    .order-summary-dialog button,
    .success-dialog button {
        padding: 14px 24px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .order-summary-dialog,
    .recharge-dialog,
    .success-dialog {
        padding: 20px !important;
        width: 95% !important;
        max-width: 350px !important;
        margin: 20px auto !important;
    }
    
    .order-summary-dialog h3,
    .recharge-dialog h3,
    .success-dialog h3 {
        font-size: 20px !important;
        margin-bottom: 16px !important;
    }
    
    .success-icon div {
        width: 60px !important;
        height: 60px !important;
    }
    
    .success-icon svg {
        width: 30px !important;
        height: 30px !important;
    }
}
