:root { --button-open: #06d6a0; --button-open-hover: #04b087; --button-close: #ef476f; --button-close-hover: #b40e32; } * { margin: 0; padding: 0; box-sizing: border-box; } /* html, body { height: 100%; }*/ body { font-family: Arial, sans-serif; background-color: #073b4c; display: flex; /*flex-direction: column;*/ } h1 { text-align: center; padding: 20px 0; color: #ffd166; } .content { flex: 1; padding: 20px; } .table-container { display: flex; flex-wrap: wrap; gap: 80px; padding: 60px; } .snooker-table { background-color: #118ab2; border-radius: 10px; box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3); width: 300px; padding: 20px; text-align: center; display: flex; flex-direction: column; justify-content: space-between; font-weight: bold; letter-spacing: 1px; display: none; } .snooker-table h3 { font-size: 1.5rem; font-weight: bold; margin-bottom: 15px; color: #ffd166; text-align: center; } .input-group { display: flex; flex-direction: column; margin-bottom: 15px; } .input-group label { font-size: 0.9rem; margin-bottom: 5px; color: white; } .input-group input { margin-top: 15px; padding: 10px; font-size: 1rem; border: none; border-radius: 5px; } .labels { display: flex; justify-content: space-between; margin-bottom: 10px; margin: 8px 0; color: white; } .labels label { font-size: 0.9rem; } .labels span { font-size: 1rem; font-weight: bold; } .labels-timer { font-size: 2rem; font-weight: bold; background-color: #06d6a0; padding: 10px 0; border-radius: 10px; margin-bottom: 15px; color: white; } .labels-rate { margin: 8px 0; color: yellow; } .button-group { display: flex; justify-content: space-around; margin-top: 10px; } button { padding: 10px 20px; font-size: 1rem; font-weight: bold; color: #ffffff; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s; margin: 5px; } button:disabled { background-color: #d44061; /*#7f8c8d;*/ cursor: not-allowed; } .open-button { background-color: #06d6a0; /*#2ecc71*/ color: white; } .open-button:hover { background-color: #04b087; } .pause-button, .close-button, .reset-button { background-color: #ef476f; /*e74c3c*/ color: white; } .reset-button { margin-bottom: 15px; } .close-button:hover { background-color: #b40e32; } .pause-button:hover { background-color: #b40e32; /*#d44061;*/ } .reset-button:hover { background-color: #b40e32; } .footer { position: fixed; left: 0; bottom: 0; width: 100%; background-color: #022532; color: white; text-align: center; padding: 8px 0; } #ott-1, #ott-2, #ott-3, #ott-4, #ott-5 { font-size: 13px; font-weight: 600; letter-spacing: 0.5px; color: #ffd166; } /* Auto Search START*/ .autocomplete-wrapper { position: relative; width: 100%; } .autocomplete-items { position: absolute; top: 100%; /* Position just below the input */ left: 0; right: 0; max-height: 200px; overflow-y: auto; z-index: 99; border-radius: 8px; margin-bottom: 10px; /* Ensure it's not transparent */ } .autocomplete-items div { padding: 10px; cursor: pointer; background-color: #66ddbd; } /* Auto Search END*/