
:root {
            --primary-color: #2196F3;
            --highlight-color: #FF5722;
            --highlight_t-color: #666;
            --reset-color: #ff9800;
            --base-font-size: 1.5rem;
            --h1-size: 2.5rem;
            --input-font-size: 3rem;
            --zoom-level: 1;
        }
        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            padding: 20px;
            background: #f5f5f5;
            font-size: calc(var(--base-font-size) * var(--zoom-level));
            transform-origin: top center;
            transition: all 0.3s ease;
        }
        .container {
            max-width: calc(1600px * var(--zoom-level));
            margin: 0 auto;
        }
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: calc(20px * var(--zoom-level));
            background-image: url("../images/banner.png");
            background-color: #F94A3B;
            background-repeat: no-repeat;
            background-size: calc(870px * var(--zoom-level)) calc(200px * var(--zoom-level));
        }
        .global-summary {
            background: white;
            padding: calc(15px * var(--zoom-level));
            border-radius: calc(8px * var(--zoom-level));
            margin-bottom: calc(20px * var(--zoom-level));
            box-shadow: 0 calc(2px * var(--zoom-level)) calc(4px * var(--zoom-level)) rgba(0,0,0,0.1);
        }
        .wallet-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(calc(300px * var(--zoom-level)), 1fr));
            gap: calc(20px * var(--zoom-level));
        }
        .wallet-card {
            background: white;
            border-radius: calc(12px * var(--zoom-level));
            padding: calc(20px * var(--zoom-level));
            box-shadow: 0 calc(2px * var(--zoom-level)) calc(8px * var(--zoom-level)) rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            position: relative;
        }
        .wallet-card.grayed-out {
            background: #e0e0e0;
        }
        .wallet-card.grayed-out::after {
            content: "";
            position: absolute;
            top: calc(766px * var(--zoom-level));
            left: calc(30px * var(--zoom-level));
            font-size: calc(1.6rem * var(--zoom-level));
            color: #666;
        }
        .wallet-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: calc(15px * var(--zoom-level));
        }
        .wallet-title {
            display: flex;
            align-items: center;
            gap: calc(10px * var(--zoom-level));
        }
        .wallet-icon {
            width: calc(120px * var(--zoom-level));
            height: calc(120px * var(--zoom-level));
            object-fit: contain;
            cursor: pointer;
            transition: transform 0.2s;
        }
        .wallet-icon:hover {
            transform: scale(1.05);
        }
        .wallet-stats {
            font-size: calc(0.9em * var(--zoom-level));
            color: #666;
        }
        .coupon-inputs {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: calc(10px * var(--zoom-level));
            margin-bottom: calc(15px * var(--zoom-level));
        }
        .input-group {
            display: flex;
            align-items: center;
            gap: calc(6px * var(--zoom-level));
        }
        select {
            width: calc(80px * var(--zoom-level));
            padding: calc(6px * var(--zoom-level));
            border: calc(1px * var(--zoom-level)) solid #ddd;
            border-radius: calc(4px * var(--zoom-level));
            text-align: center;
            text-align-last:center;
            appearance:none;
            font-size: calc(var(--input-font-size) * var(--zoom-level));
            color: gray;
            transition: all 0.3s ease;
        }
        select.non-zero {
            background-color: #fff3cd;
            color: #000;
            border-color: #ffeeba;
        }
        .highlight {
            color: var(--highlight-color);
            font-weight: bold;
            font-size: calc(60px * var(--zoom-level));
        }
        .highlight_t {
            color: var(--highlight_t-color);
            font-weight: bold;
            font-size: calc(60px * var(--zoom-level));
        }
        button {
            padding: calc(8px * var(--zoom-level)) calc(16px * var(--zoom-level));
            border: none;
            border-radius: calc(6px * var(--zoom-level));
            cursor: pointer;
            transition: 0.3s;
        }
        .reset-btn {
            background: var(--reset-color);
            color: white;
            font-size: calc(20px * var(--zoom-level));
        }
        .wallet-reset-btn {
            background: #f44336;
            color: white;
            font-size: calc(1.5rem * var(--zoom-level));
            padding: calc(6px * var(--zoom-level)) calc(12px * var(--zoom-level));
          
        }

        .bdname{
         /* font-size:32px; */
         font-size:calc(32px * var(--zoom-level));
         vertical-align:center;
        }

        .bdsize{
         color: var(--highlight_t-color);
         font-weight: bold;
         font-size:calc(40px * var(--zoom-level));
         /* font-size:40px; */
         vertical-align:center;
        }

        .wallet-breakdown {
            margin-top: calc(10px * var(--zoom-level));
            padding: calc(10px * var(--zoom-level));
            background: #f9f9f9;
            border-radius: calc(8px * var(--zoom-level));
            border: calc(1px * var(--zoom-level)) solid #eee;
        }
        .breakdown-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: calc(10px * var(--zoom-level));
            margin-top: calc(10px * var(--zoom-level));
        }
        .breakdown-item {
            display: flex;
            justify-content: space-evenly;
            padding: calc(5px * var(--zoom-level));
            border-bottom: calc(1px * var(--zoom-level)) dashed #ddd;
        }
        .zoom-controls {
            display: flex;
            justify-content: flex-end;
            gap: calc(10px * var(--zoom-level));
            margin-top: calc(10px * var(--zoom-level));
            margin-bottom: calc(20px * var(--zoom-level));
        }
        .zoom-btn {
            background: #4CAF50;
            color: white;
            font-size: calc(1.8rem * var(--zoom-level));
            padding: calc(6px * var(--zoom-level)) calc(12px * var(--zoom-level));
            border-radius: calc(5px * var(--zoom-level));
        }
        .zoom-btn.reset {
            background: #9e9e9e;
        }
        .zoom-level {
            font-size: calc(1.8rem * var(--zoom-level));
            margin: 0 calc(10px * var(--zoom-level));
            padding: calc(6px * var(--zoom-level)) calc(12px * var(--zoom-level));
            background: #f5f5f5;
            border-radius: calc(5px * var(--zoom-level));
            min-width: calc(80px * var(--zoom-level));
            text-align: center;
        }
        h1 {
            font-size: calc(var(--h1-size) * var(--zoom-level));
        }
        h2 {
            font-size: calc(2rem * var(--zoom-level));
        }
        h3 {
            font-size: calc(1.5rem * var(--zoom-level));
        }
        h4 {
            font-size: calc(1.25rem * var(--zoom-level));
        }
        .suggestion-section {
            background: white;
            padding: calc(20px * var(--zoom-level));
            border-radius: calc(8px * var(--zoom-level));
            margin-top: calc(20px * var(--zoom-level));
            box-shadow: 0 calc(2px * var(--zoom-level)) calc(4px * var(--zoom-level)) rgba(0,0,0,0.1);
        }
        .suggestion-input {
            display: flex;
            align-items: center;
            gap: calc(10px * var(--zoom-level));
            margin-bottom: calc(15px * var(--zoom-level));
        }
        .suggestion-input input {
            padding: calc(8px * var(--zoom-level));
            border: calc(1px * var(--zoom-level)) solid #ddd;
            border-radius: calc(4px * var(--zoom-level));
            font-size: calc(2rem * var(--zoom-level));
            width: calc(300px * var(--zoom-level));
        }
        .suggestion-btn {
            background: #2196F3;
            color: white;
            font-size: calc(2rem * var(--zoom-level));
            padding: calc(8px * var(--zoom-level)) calc(16px * var(--zoom-level));
            border-radius: calc(4px * var(--zoom-level));
        }
        .suggestion-result {
            margin-top: calc(15px * var(--zoom-level));
            padding: calc(15px * var(--zoom-level));
            background: #f9f9f9;
            border-radius: calc(8px * var(--zoom-level));
            border-left: calc(4px * var(--zoom-level)) solid #2196F3;
        
font-size: calc(2rem * var(--zoom-level));}
        .suggestion-item {
            margin-bottom: calc(10px * var(--zoom-level));
            padding: calc(8px * var(--zoom-level));
            background: #e3f2fd;
            border-radius: calc(4px * var(--zoom-level));
        }
        .suggestion-wallet {
            font-weight: bold;
            color: #2196F3;
        }
        .suggestion-coupons {
            margin-top: calc(5px * var(--zoom-level));
            padding-left: calc(20px * var(--zoom-level));
        }
        .suggestion-coupon {
            display: flex;
            justify-content: space-between;
            margin-bottom: calc(3px * var(--zoom-level));
        }
        .suggestion-note {
            margin-top: calc(10px * var(--zoom-level));
            padding: calc(10px * var(--zoom-level));
            background: #fff8e1;
            border-radius: calc(4px * var(--zoom-level));
            border-left: calc(3px * var(--zoom-level)) solid #ffc107;
        }
        .rule-selector {
            display: flex;
            gap: calc(15px * var(--zoom-level));
            margin-bottom: calc(15px * var(--zoom-level));
            padding: calc(10px * var(--zoom-level));
            background: #f5f5f5;
            border-radius: calc(8px * var(--zoom-level));
        }
        .rule-option {
            display: flex;
            align-items: center;
            gap: calc(5px * var(--zoom-level));
            font-size: calc(1.8rem * var(--zoom-level));
        }
        .rule-option input {
            width: calc(18px * var(--zoom-level));
            height: calc(18px * var(--zoom-level));
        }

        @media (max-width: 768px) {
            :root {
                --base-font-size: 0.875rem;
                --h1-size: 1.8rem;
                --input-font-size: 2rem;
            }
            .wallet-icon {
                width: calc(80px * var(--zoom-level));
                height: calc(80px * var(--zoom-level));
            }
            .breakdown-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .suggestion-input {
                flex-direction: column;
                align-items: flex-start;
            }
            .rule-selector {
                flex-direction: column;
                gap: calc(8px * var(--zoom-level));
            }
        }

