.elementor-8515 .elementor-element.elementor-element-b1be980{--display:flex;--margin-top:20px;--margin-bottom:50px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}/* Start custom CSS for html, class: .elementor-element-9f3bcf8 */<style>
        /* Base styles – mobile-first */
        * {
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            margin: 0;
            min-height: 100vh;
            padding: 16px;
            background: white;
            overflow-x: hidden;
        }
        
        :root {
            --primary: #0066cc;
            --primary-light: #e6f2ff;
            --dark: #333;
            --light: #f8f9fa;
            --gray: #6c757d;
        }
        
        @keyframes zoomIn {
            from {
                opacity: 0;
                transform: scale(0.95);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        .app-header {
            text-align: center;
            padding: 20px 0 16px;
            animation: zoomIn 0.5s ease-out;
        }
        
        .app-header h1 {
            color: #0066cc;
            margin-bottom: 12px;
            font-size: 1.8rem;
            font-weight: 700;
            text-shadow: 0 2px 4px rgba(0,102,204,0.1);
        }
        
        .app-header .description {
            color: #4a5568;
            font-size: 1rem;
            margin: 0 auto;
            max-width: 700px;
            line-height: 1.5;
            font-weight: 400;
            padding: 0 8px;
        }
        
        .conversion-form {
            max-width: 1000px;
            margin: 0 auto;
            background: #e3f2fd;
            border-radius: 20px;
            padding: 20px;
            border: 2px solid #90caf9;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s;
            animation: zoomIn 0.5s ease-out 0.1s backwards;
        }
        
        .converter-grid {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        
        .base-card {
            background: rgba(255,255,255,0.5);
            border-radius: 16px;
            padding: 16px;
            text-align: center;
        }
        
        .base-indicator {
            display: inline-block;
            font-size: 1.1rem;
            background: rgba(13, 71, 161, 0.9);
            color: white;
            padding: 6px 16px;
            border-radius: 40px;
            font-weight: 600;
            margin-bottom: 12px;
            backdrop-filter: blur(2px);
        }
        
        .preset-group {
            margin-top: 12px;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }
        
        .preset-btn {
            font-size: 0.85rem;
            padding: 8px 16px;
            border-radius: 40px;
            background: white;
            border: 1px solid #90caf9;
            color: #0d47a1;
            transition: 0.2s;
            font-weight: 500;
            cursor: pointer;
            flex: 0 1 auto;
        }
        
        .preset-btn:hover {
            background: #0d47a1;
            color: white;
            border-color: #0d47a1;
        }
        
        /* Active preset button style - highlights current base */
        .preset-btn.active {
            background: #0d47a1;
            color: white;
            border-color: #0d47a1;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        }
        
        .preset-btn:active {
            transform: scale(0.96);
        }
        
        .value-field {
            margin-top: 16px;
        }
        
        .value-field .form-label {
            font-weight: 600;
            color: #0d47a1;
            margin-bottom: 8px;
            display: block;
            font-size: 0.9rem;
        }
        
        .value-field .form-control {
            height: 56px;
            font-size: 1.2rem;
            font-weight: 600;
            text-align: center;
            background: #f8f9fa;
            border: 1px solid #90caf9;
            width: 100%;
            border-radius: 12px;
            padding: 10px;
        }
        
        .result-field .form-control {
            background: #e8f0fe;
        }
        
        .equal-sign {
            font-size: 2rem;
            font-weight: bold;
            color: #0d47a1;
            text-align: center;
            margin: 8px 0;
        }
        
        /* Mobile: rotate equal sign 90° clockwise */
        @media (max-width: 767px) {
            .equal-sign {
                transform: rotate(90deg);
                display: inline-block;
                margin: 4px auto;
                width: fit-content;
            }
            .converter-grid {
                gap: 8px;
            }
        }
        
        .error-msg {
            background: #ffebee;
            color: #c62828;
            padding: 10px 14px;
            border-radius: 12px;
            font-size: 0.85rem;
            margin-top: 20px;
            display: none;
            border-left: 4px solid #c62828;
        }
        
        /* Tablet and up – side by side layout, no rotation */
        @media (min-width: 768px) {
            body {
                padding: 24px;
            }
            
            .app-header h1 {
                font-size: 2.5rem;
            }
            
            .app-header .description {
                font-size: 1.2rem;
            }
            
            .conversion-form {
                padding: 28px;
            }
            
            .converter-grid {
                flex-direction: row;
                gap: 20px;
                align-items: stretch;
            }
            
            .base-card {
                flex: 1;
                padding: 20px;
                display: flex;
                flex-direction: column;
            }
            
            .value-field {
                margin-top: auto;
            }
            
            .value-field .form-label {
                margin-top: 8px;
            }
            
            .equal-sign {
                font-size: 2.8rem;
                margin: auto 0;
                padding: 0 8px;
                transform: none;
            }
        }
        
        /* Large desktop */
        @media (min-width: 1200px) {
            .conversion-form {
                padding: 32px;
            }
        }
        
        /* Touch-friendly adjustments */
        .preset-btn {
            -webkit-tap-highlight-color: transparent;
        }
        
        .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
            outline: none;
        }
        
        /* Remove number input spinner arrows */
        input[type="number"] {
            -moz-appearance: textfield;
        }
        input[type="number"]::-webkit-inner-spin-button,
        input[type="number"]::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
    </style>/* End custom CSS */