/* Global Styles */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f0f4f5;
    margin: 0;
    padding: 0;
    background-image: url('https://s1.1zoom.me/big0/507/Switzerland_Mountains_Houses_Eiger_Alps_Crag_595250_1280x853.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Prevent background from scrolling */
    color: #333;
    transition: background 0.3s ease-in-out;
}

/* Container Styles */
.container {
    max-width: 900px;
    min-height: 580px;
    margin: 10px auto;
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Header Styles */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0px;
    animation: slideInFromTop 1s ease-out;
}

@keyframes slideInFromTop {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

#logo {
    max-width: 100px;
    height: auto;
    margin-right: 30px;
    transition: transform 0.3s ease-in-out;
}

#logo:hover {
    transform: scale(1.1);
}

h1 {
    font-size: 50px;
    font-weight: 700;
    color: #04699c;
    font-family: Cambria;
    margin-right: 100px;
}

/* Form Group Styles */
.form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.2em;
    color: #333;
}

.form-group input[type="text"] {
    width: 300px;
    padding: 10px;
    padding-left: 20px;
    border-radius: 25px;
    border: 1px solid #c8c8c8;
    font-size: 30px;
    box-sizing: border-box;
    margin-top: 0px;
    transition: all 0.3s ease-in-out;
    height: 50px;
}

.form-group input[type="text"]:focus {
    border-color: rgb(3,117,174);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
    font-size: 30px;
}

.form-group button {
    padding: 5px 10px;
    border: none;
    background-color: rgb(3,117,174);
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.form-group button:hover {
    background-color: #2199d9;
    box-shadow: 0 0 10px rgba(12, 186, 255, 0.5);
}

.invalid-number {
    color: red;
    font-size: 1em;
    margin-top: 10px;
    display: none;
    margin-bottom: 0px;
}
h2{
    font-size: 30px;
}

/* Loader Styles */
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.loader .dot {
    width: 15px;
    height: 15px;
    background-color: rgb(3,117,174);
    border-radius: 50%;
    margin: 0 3px;
    animation: dot 1s infinite alternate;
}

.loader .dot:nth-child(2) {
    animation-delay: 0.3s;
    background-color: #08915a;
}

.loader .dot:nth-child(3) {
    animation-delay: 0.6s;
    background-color: rgb(3,117,174);
}

.loader .dot:nth-child(4) {
    animation-delay: 0.9s;
    background-color: #08915a;
}

@keyframes dot {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.3;
    }
}

/* Results Table Styles */
#output, #results {
    margin-top: 10px;
    padding: 20px;
    padding-top: 5px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    animation: fadeIn 1s ease-in-out;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #f2f2f2;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

table:hover {
    transform: scale(1.01);
}

th, td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
}

th {
    background-color: rgb(3,117,174);
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    font-size: 25px;
}

td {
    font-size: 1.1em;
    color: rgb(3,117,174);
    font-family: 'Courier New';
    font-weight: bold;
    font-size: 27px;
}

.clean {
    color: green !important;
}

.blacklisted, .federal-dnc, .state-dnc, .state-federal-dnc {
    color: red !important;
}

/* Footer Styles */
footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 940px;
    background-color: #f8f9fa;
    padding: 10px 0;
    text-align: center;
    font-size: 120%;
    border-radius: 2px;
    padding-left: 0px;    
}

buttom.contact-us {
    background-color: #0375ae;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 25px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

buttom.contact-us:hover {
    background-color: #2199d9;
    transform: translateY(-2px);
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#phoneInput::placeholder {
    color: rgb(221, 226, 221); /* Change to the desired color */
}


bottom.contact-us {
    background-color: #0375ae;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 25px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

bottom.contact-us:hover {
    background-color: #2199d9;
    transform: translateY(-2px);
}

@media (max-width: 768px) 
{
    .container {
        padding: 15px;
        max-width: auto;
        min-height: 450px;
        overflow-x: auto;
        margin-top: 75px; /* Added margin to ensure the container is not touching the top */
        
    }

    h1 {
        font-size: 30px;
        margin-right: 0;
    }

    .form-group label {
        display: block;
        margin-bottom: 10px;
        font-weight: bold;
        font-size: 15px;
        color: #333;
    }

    input[type="text"] {
        width: calc(70% - 24px);
        font-size: 16px;
        margin-right: 10px;
    }

    button {
        font-size: 18px;
        margin-right: 0;
    }

    #results {
        margin-top: 20px;

    }

    table {
        width: 100%;
        font-size: 14px;
        table-layout: fixed; /* Ensures equal column widths */

    }

    th, td {
        font-size: 15px;
        padding: 3px;
        word-wrap: break-word; /* Ensure text wraps within columns */
    }

    footer {
        width: 100%;
        height: 50px;
        padding-top: 5px;
        padding-bottom: 5px;
        font-size: 17px;
        border-radius: 5px;
    }

    #logo {
        width: 50px;
        height: auto;
        margin-left: 0px;
        margin-top: 0px;
        margin-bottom: 8px;
        margin-right: 10px;
    }

    h2 {
        font-size: 20px;
    }


    /* Adjusting the loader */
    .loader-dot {
        width: 10px;
        height: 10px;
        margin-top: 10px;
        margin-right: 2px;
    }

    #loader {
        margin-right: 0;
    }

    /* Adjusting contact-us button */
    buttom.contact-us {
        margin-left: 0;
        padding: 3px 5px;
        font-size: 16px;
    }

    .header {
        min-width: 200px;
        align-items: center;
        justify-content: flex-start;
        margin-left: 30px;
    }

    #output, #results {
        margin-top: 10px;
        padding: 5px;
        padding-top: 5px;
    }

    bottom.contact-us {
        margin-left: 0;
        padding: 3px 5px;
        font-size: 16px;
    }
    #phoneInput::placeholder {
        font-size: 20px;
    }

    .form-group input[type="text"] {
        width: 200px;
        padding: 5px;
        padding-left: 15px;
        border-radius: 20px;
        border: 1px solid #c8c8c8;
        font-size: 20px;
        box-sizing: border-box;
        margin-top: 0px;
        transition: all 0.3s ease-in-out;
        height: 40px;
    }

    .form-group button {
        padding: 3px 7px;
        border: none;
        background-color: rgb(3,117,174);
        color: #fff;
        font-size: 20px;
        font-weight: 600;
        border-radius: 15px;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
    }

    .form-group input[type="text"]:focus {
        border-color: rgb(3,117,174);
        outline: none;
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
        font-size: 20px;
    }

    .loader .dot {
        width: 10px;
        height: 10px;
        background-color: rgb(3,117,174);
        border-radius: 50%;
        margin: 0 1.5px;
        animation: dot 1s infinite alternate;
    }

    
.invalid-number {
    color: red;
    font-size: 12px;

}

}

