*{box-sizing:border-box;margin:0;padding:0}:root{--inter-font:font-family: "Inter";--space-mono-font:font-family: "Space Mono"}body{width:100vw;height:100vh;font-family:var(--inter-font);background-color:#252525;justify-content:center;align-items:center;display:flex}.center{background-color:#e5e7eb;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-width:auto;min-height:auto;padding:20px;display:flex}.buttons-layout{grid-template-columns:auto 60px;gap:10px;display:grid}.operators-column{grid-template-rows:repeat(4,60px);gap:10px;display:grid}.numbers-grid{grid-template-columns:repeat(3,60px);gap:10px;display:grid}.controls-row{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:10px;display:grid}.calc-button{color:#fff;cursor:pointer;background-color:#1f2937;border:none;border-radius:10px;width:60px;height:60px;font-size:1.2rem;font-weight:600}.calc-button:hover{background-color:#374151}.calc-display{text-align:right;color:#fff;background-color:#252525;border-radius:5px;width:100%;margin:0;padding:10px;font-size:1.5rem;font-weight:600}.calc-clear-button{color:#fff;letter-spacing:.6px;cursor:pointer;background-color:#dc2626;border:1px solid #b91c1c;border-radius:10px;width:100%;height:55px;font-size:1rem;font-weight:600;transition:background-color .2s,transform .12s,box-shadow .2s;box-shadow:0 3px 8px #7f1d1d59}.calc-clear-button:hover{background-color:#ef4444}.calc-clear-button:active{background-color:#b91c1c;transform:scale(.98);box-shadow:0 1px 4px #7f1d1d66}.calc-backspace-button{color:#111827;cursor:pointer;background-color:#f59e0b;border:1px solid #d97706;border-radius:10px;width:100%;height:55px;font-size:1.2rem;font-weight:700;transition:background-color .2s,transform .12s,box-shadow .2s;box-shadow:0 3px 8px #92400e40}.calc-backspace-button:hover{background-color:#fbbf24}.calc-backspace-button:active{background-color:#d97706;transform:scale(.98);box-shadow:0 1px 4px #92400e59}
