| body { | |
| font-family: Arial, sans-serif; | |
| margin: 0; | |
| padding: 20px; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| min-height: 100vh; | |
| } | |
| .container { | |
| background-color: #f9f9f9; | |
| padding: 20px; | |
| border-radius: 8px; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| width: 100%; | |
| max-width: 400px; | |
| } | |
| h1 { | |
| text-align: center; | |
| color: #333; | |
| } | |
| form { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 15px; | |
| } | |
| label { | |
| font-weight: bold; | |
| margin-bottom: 5px; | |
| display: inline-block; | |
| vertical-align: middle; | |
| } | |
| input { | |
| width: 100%; | |
| padding: 8px; | |
| border: 1px solid #ccc; | |
| border-radius: 4px; | |
| box-sizing: border-box; | |
| } | |
| button { | |
| background-color: #3b82f6; | |
| color: white; | |
| border: none; | |
| padding: 10px; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| font-weight: bold; | |
| } | |
| button:hover { | |
| background-color: #2563eb; | |
| } | |
| #error { | |
| color: #dc2626; | |
| margin-top: 10px; | |
| } | |
| #result { | |
| margin-top: 20px; | |
| } | |
| pre { | |
| background-color: #f3f4f6; | |
| padding: 10px; | |
| border-radius: 4px; | |
| overflow-x: auto; | |
| white-space: pre-wrap; | |
| word-wrap: break-word; | |
| } | |
| #possible-range-sizes { | |
| margin-top: 20px; | |
| } | |
| .clickable { | |
| cursor: pointer; | |
| color: #3b82f6; | |
| text-decoration: underline; | |
| } | |
| .checkbox-container { | |
| display: flex; | |
| align-items: center; | |
| } | |
| .checkbox-container label { | |
| flex: 1; | |
| white-space: nowrap; | |
| margin-right: 10px; | |
| } |