/* Main Project Styles BYTEMALTE Design System v1.1 */ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'); :root { --color-primary: #8888FF; --color-secondary: #3DDC84; --color-background: #0F172A; --color-surface: #1E293B; --color-text-high: #F8FAFC; --color-text-muted: #B0BDD0; --color-error: #EF4444; --color-border: #334155; --radius-btn: 8px; --radius-card: 16px; --radius-input: 8px; --font-family: 'Inter', system-ui, sans-serif; } * { box-sizing: border-box; margin: 0; padding: 0; } body { background-color: var(--color-background); color: var(--color-text-high); font-family: var(--font-family); font-weight: 400; line-height: 1.6; min-height: 100vh; display: flex; justify-content: center; align-items: center; } .app-container { width: 100%; height: 100vh; display: flex; justify-content: center; align-items: center; padding: 16px; } .calculator-wrap { background-color: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 24px; width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 20px; } .display-area { background-color: var(--color-background); border-radius: var(--radius-input); padding: 24px; text-align: right; min-height: 80px; display: flex; align-items: center; justify-content: flex-end; overflow: hidden; } .display-text { font-size: 2.5rem; font-weight: 700; color: var(--color-text-high); white-space: nowrap; } .operator-symbol { color: var(--color-primary); font-weight: 600; margin: 0 4px; } .keypad-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } .calc-btn { border: none; outline: none; font-size: 1.25rem; font-weight: 500; padding: 18px 0; border-radius: var(--radius-btn); cursor: pointer; transition: filter 0.2s, box-shadow 0.2s, transform 0.1s; color: var(--color-text-high); } .calc-btn:hover { filter: brightness(1.1); box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1); } .calc-btn:active { transform: scale(0.98); } .btn-number { background-color: var(--color-surface); border: 1px solid var(--color-border); } .btn-operator { background-color: var(--color-primary); color: var(--color-text-high); } .btn-clear { background-color: var(--color-error); color: var(--color-text-high); } .btn-equals { grid-column: span 4; background-color: var(--color-secondary); color: var(--color-background); font-weight: 600; margin-top: 8px; } .btn-zero { grid-column: span 2; text-align: left; padding-left: 24px; } @media (max-height: 700px) { .calculator-wrap { padding: 16px; gap: 12px; } .calc-btn { padding: 14px 0; font-size: 1.1rem; } .display-text { font-size: 2rem; } }