.seo-results { margin: 1.5rem 0 2rem; }
  .seo-results details { border:1px solid #e8e8e8; border-radius:12px; background:#fff; }
  .seo-results summary { cursor:pointer; padding:.75rem 1rem; font-weight:600; list-style:none; }
  .seo-results summary::-webkit-details-marker { display:none; }
  .seo-results .body { padding:.5rem 1rem 1rem; overflow:auto; }
  .seo-results table { width:100%; border-collapse:collapse; font-size:.95rem; }
  .seo-results th, .seo-results td { padding:.5rem .6rem; border-bottom:1px solid #f0f0f0; text-align:left; }
  .seo-results th { background:#fafafa; position:sticky; top:0; z-index:1; }
  .seo-badge { font-size:.9rem; color:#666; margin-left:.5rem; }
  @media (prefers-color-scheme: dark){
    .seo-results details { border-color:#333; background:#111; }
    .seo-results summary { color:#ddd; }
    .seo-results th, .seo-results td { border-color:#222; }
    .seo-results th { background:#0b0b0b; }
  }

table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }

    table th, table td {
        text-align: center;
        vertical-align: middle;
        padding: 10px;
        border: 1px solid #ccc;
    }

    table th {
        background-color: #f4f4f4;
        font-weight: bold;
    }

    table tbody tr:hover {
        background-color: #f9f9f9;
    }

    #poolHallResults a {
        color: #007BFF;
        text-decoration: none;
    }

    #poolHallResults a:hover {
        text-decoration: underline;
    }

    .btn-add-pool-hall {
    display: inline-block;
    padding: 8px 16px;
    background-color: #28a745;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-add-pool-hall:hover {
    background-color: #218838;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal-content {
    background: white;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    position: relative;
}

.modal-content h2 {
    margin-top: 0;
}

.modal-content label {
    display: block;
    margin-bottom: 10px;
}

.modal-content input, 
.modal-content select {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    box-sizing: border-box;
}

.modal-content button {
    background: #007BFF;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.modal-content button:hover {
    background: #0056b3;
}

.modal-content .close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 24px;
    cursor: pointer;
}

/* Modal Form Styling */
#poolHallForm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
    max-width: 700px;
    margin: auto;
}

#poolHallForm label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    font-size: 0.95rem;
}

#poolHallForm input[type="text"],
#poolHallForm input[type="url"],
#poolHallForm input[type="number"],
#poolHallForm input[type="file"],
#poolHallForm select,
#poolHallForm textarea {
    padding: 8px;
    font-size: 0.95rem;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

#poolHallForm textarea {
    grid-column: span 2;
    resize: vertical;
    min-height: 80px;
}

#imagePreviewContainer {
    grid-column: span 2;
    text-align: center;
}

#poolHallForm button[type="submit"] {
    grid-column: span 2;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
}

#poolHallForm button[type="submit"]:hover {
    background-color: #0056b3;
}

.search-form{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin:12px 0 16px;
  }
  .search-form label{
    display:flex;
    align-items:center;
    gap:6px;
    margin:0;
    font-weight:600;
  }
  .search-form select{
    width:auto;              
    min-width: 160px;        
    padding:6px 8px;
  }