/* Math Grid Quiz (Gleichungen) Styles */ #MathQuiz-container { max-width: 550px; margin: 0 auto; padding: 10px; } #math-counter { text-align: center; font-size: 0.95em; color: #666; margin-bottom: 15px; } #math-grid { display: grid; gap: 4px; justify-content: center; align-items: center; justify-items: center; padding: 20px; background: #f5f5f5; border-radius: 10px; margin-bottom: 15px; } .math-cell { display: flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; font-size: 1.2em; } .math-number { font-weight: bold; color: #333; font-size: 1.3em; } .math-op { color: #555; font-size: 1.2em; font-weight: bold; } .math-empty { /* intentionally blank */ } .math-blank-cell { /* container for input */ } .math-input { width: 52px; height: 44px; text-align: center; font-size: 1.2em; font-weight: bold; border: 2px solid #007bff; border-radius: 6px; background: #fff; outline: none; transition: border-color 0.15s; /* Hide spinner arrows */ -moz-appearance: textfield; } .math-input::-webkit-outer-spin-button, .math-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .math-input:focus { border-color: #0056b3; box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15); } #math-confirm-btn { display: block; margin: 15px auto 0; padding: 10px 40px; font-size: 1em; border: none; border-radius: 6px; background: #007bff; color: #fff; cursor: pointer; transition: background 0.15s; } #math-confirm-btn:hover:not(:disabled) { background: #0056b3; } #math-confirm-btn:disabled { background: #ccc; cursor: not-allowed; }