/* Existing CSS code for desktop remains unchanged */

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url('https://s1.1zoom.me/big0/507/Switzerland_Mountains_Houses_Eiger_Alps_Crag_595250_1280x853.jpg'); /* Replace 'https://example.com/background-image.jpg' with your image URL */
    background-size: cover; /* Cover the entire viewport */
    background-position: center; /* Center the background image */
    font-family: Arial, sans-serif; /* Specify the font family */
    margin: 0; /* Remove default margins */
    padding: 0; /* Remove default padding */
}

.container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    padding-top: 15px;
    max-width: 1200px;
    width: 100%;
    text-align: center;
    margin-bottom: 60px;
    margin-top: 10px;
    min-height: 580px;
}

h1 {
    margin-bottom: 20px;
    margin: 15px;
    font-size: 50px;
    color: #1a7943;
    font-family: Cambria;
    text-align: center;
    margin-right: 230px;
}

form {
    margin-bottom: 5px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #555;
    margin-right: 180px;
    font-size: 20px;
}

input[type="text"] {
    width: calc(40% - 24px);
    padding: 8px;
    padding-left: 20px;
    margin-bottom: 0px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 26px;
    margin-right: 0px;
}

button {
    background-color: #0375ae;
    color: #fff;
    border: none;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 25px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    min-height: 47.2px;
    margin-right: 100px;
}

button:hover {
    background-color: #2199d9;
}

#results {
    text-align: left;
    margin-top: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 25px;
    min-height: 50px;
}

td {
    font-family: 'Courier New';
    font-weight: bold;
    color: #1a7943;

}

th {
    background-color: #0375ae;
    color: #fff;
    text-align: left;
}

tr:nth-child(even) {
    background-color: #f4f4f4;
}

tr:hover {
    background-color: #f0f0f0;
}

@keyframes loader {
    0% { transform: scale(1); }
    20% { transform: scale(1.2); }
    40% { transform: scale(1); }
}

.loader-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    animation: loader 1s infinite ease-in-out;
    margin-bottom: 0px;
    margin-top: 20px;
}

.blue-dot {
    background-color: #0375ae; /* Blue color */
}

.green-dot {
    background-color: #28a745; /* Green color */
}

.loader-dot:nth-child(1),
.loader-dot:nth-child(3) {
    animation-delay: 0s;
}

.loader-dot:nth-child(2),
.loader-dot:nth-child(4) {
    animation-delay: 0.6s;
}

/* Hide loader by default */
#loader {
    display: none;
    margin-right: 170px;
}

footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1260px;
    background-color: #f8f9fa;
    padding: 10px 0;
    text-align: center;
    font-size: 120%;
    border-radius: 2px;
    padding-left: 0px;    
}

#logo {
    max-width: 130px; /* Adjust the max-width of the logo as needed */
    height: 180px; /* Maintain aspect ratio */
    margin-right: 0px; /* Add margin to separate the logo from the heading */
    float: left; /* Float the logo to the left */
    margin-left: 80px;
    margin-top: 15px;
    margin-right: 0px;
}

h2 {
    margin-top: 15px;
    margin-bottom: 0px;
    font-size: 30px;
    text-align: center;
}

buttom {
    background-color: #0375ae;
    color: #fff;
    border: none;
    padding: 3px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 30px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    min-height: 40px;    
}

buttom:hover {
    background-color: #2199d9;
}

#logo {
    width: 200px; /* Adjust the size as needed */
    animation: rotate 5s linear infinite, scale 2s ease-in-out infinite alternate;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes scale {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

.clean {
    color: green;
}

.blacklisted, .federal-dnc, .state-dnc, .state-federal-dnc {
    color: red !important;
}

.no-data-img {
    display: block;
    margin: 40px auto;
    max-width: 70px;
    max-height: 70px;
    height: auto;
    margin-left: 600px;
}

bottom {
    background-color: #0375ae;
    color: #fff;
    border: none;
    padding: 3px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 30px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    min-height: 40px;    
}

bottom:hover {
    background-color: #2199d9;
}

#phoneInput::placeholder {
    color: rgb(221, 226, 221); /* Change to the desired color */
}



/* Mobile responsive styling */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        max-width: auto;
        min-height: auto;
        overflow-x: auto;
        margin-bottom: 150px;
    }
    
    h1 {
        font-size: 24px;
        margin-right: 0;
    }

    label {
        margin-right: 0;
        font-size: 16px;
    }

    input[type="text"] {
        width: calc(50% - 24px);
        font-size: 16px;
        margin-right: 0px;
        margin-left: 0px;
    }

    button {
        font-size: 16px;
        margin-right: 0;
        padding: 5px;
        min-height: 36px;
    }

    #results {
        margin-top: 20px;
    }

    table {
        width: 100%;
        font-size: 14px;
        table-layout: fixed; /* Ensures equal column widths */
    }

    th, td {
        font-size: 14px;
        padding: 3px;
        word-wrap: break-word; /* Ensure text wraps within columns */
    }

    footer {
        width: 100%;
        height: 40px;
        padding-left: 2px;
    }

    #logo {
        width: 70px;
        height: auto;
        margin-left: 0px;
        margin-top: 0px;
        margin-bottom: 8px;
    }

    h2 {
        font-size: 20px;
    }

    .no-data-img {
        margin: 20px auto;
        margin: 0 auto
        max-width: 50px;
        max-height: 50px;
    }

    /* Adjusting the loader */
    .loader-dot {
        width: 10px;
        height: 10px;
        margin-top: 10px;
        margin-right: 2px;
    }

    #loader {
        margin-right: 0;
    }

    /* Adjusting contact-us button */
    /* Adjusting contact-us button */
    buttom.contact-us {
        margin-left: 0;
        padding: 3px 5px;
        font-size: 16px;
    }
    bottom.contact-us {
        margin-left: 0;
        padding: 3px 5px;
        font-size: 16px;
    }
}
