/* Base table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

/* Styling for table headers and cells */
th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

/* Table container for making it scrollable on small screens */
#resultTable {
    margin-top: 20px;
    display: none; /* Initially hidden */
    width: 100%;
    overflow-x: auto; /* Scrollable on small screens */
    color: white;
}

/* Responsive table for small screens */
@media (max-width: 768px) {
    #resultTable {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
    }

    /* Make the table cells stack on smaller screens */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap; /* Keep table rows in a single line to allow horizontal scrolling */
    }

    th, td {
        padding: 8px;
        font-size: 14px; /* Reduce font size for mobile */
    }

    /* Ensure the table has a scroll bar for smaller screens */
    th, td {
        min-width: 120px; /* Ensure a minimum width for readability */
    }
}

/* Additional table styling for larger screens */
@media (min-width: 769px) {
    #resultTable {
        margin-top: 30px;
    }

    th, td {
        padding: 15px;
    }

    th {
        background-color: #f96f00;
        text-transform: uppercase;
        font-size: 16px;
        font-weight: bold;
        color: white;
    }

    td {
        font-size: 14px;
    }
}

/* General styling */
th, td {
    padding: 12px;
    text-align: center;
    border: 1px solid #0a0a0a;
}


/* Margin and padding around the table */
#resultTable {
    margin-top: 20px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.spinner {
    width: 70px;
    height: 70px;
    border: 7px solid #004890;
    border-left-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#g-recaptcha{
    margin-top: 10px;
}