/* General styles for the search container */
.numberplate-search-container {
    max-width: 100%;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
}

/* Search Form Styles */
#numberplate-search-form {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#numberplate-search-form input[type="text"] {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    width: 70%;
    max-width: 400px;
    margin-right: 10px;
    box-sizing: border-box;
}

#numberplate-search-form button {
    background-color: black;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#numberplate-search-form button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Loader Styles */
#numberplate-search-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px; /* Ensure loader has space */
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Results Container Styles (reusing previous modern CSS) */
.numberplate_section_div {
    max-width: 100%; /* Adjust to fit within the plugin container */
    margin: 0 auto;
    padding: 0; /* Remove padding as it's handled by parent container */
    background-color: transparent; /* Remove background as it's handled by parent container */
    box-shadow: none; /* Remove shadow as it's handled by parent container */
}

.number_plate_sec_headings {
    text-align: center;
    margin-bottom: 30px;
}

.sec_title {
    font-size: 2.2em;
    color: #1a1a1a;
    font-weight: 700;
    margin: 0;
}

.reslt_txt {
    color: #007bff;
}

.numberplate_list_row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.numberplate_list_colm {
    flex: 0 0 auto;
    width: 280px;
}

.numberplate_list_item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.numberplate_list_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.numberplate_list_cards {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.shadowbox {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFD700;
    border-radius: 4px;
    padding: 8px 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-right: 15px;
}

.mdl_nmbr_dv h5 {
    margin: 0;
    font-size: 1.5em;
    color: #000;
    font-weight: 700;
    letter-spacing: 1px;
}

.amt_dv {
    background-color: #f0f0f0;
    padding: 8px 15px;
    border-radius: 4px;
}

.amt_dv h6 {
    margin: 0;
    font-size: 1.1em;
    color: #666;
    font-weight: 600;
}

/* View More Button (if applicable in results) */
.num_plate_viewmore_dv {
    text-align: center;
    margin-top: 20px;
}

.num_plate_viewmore_btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.num_plate_viewmore_btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #numberplate-search-form {
        flex-direction: column;
        align-items: center;
    }

    #numberplate-search-form input[type="text"] {
        width: 90%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .numberplate_list_colm {
        width: 100%;
    }

    .numberplate_list_cards {
        flex-direction: column;
        align-items: flex-start;
    }

    .shadowbox {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }

    .amt_dv {
        width: 100%;
        text-align: center;
    }
}


