body {
    font-family: Arial, sans-serif;
/*     text-align: center; */
    padding: 20px;
}
.filter_names_title {
    margin-bottom: 20px;
}
.alphabet-grid {
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    margin-bottom: 20px;
    align-items: center;
    justify-items: center;
    justify-content: center;
    max-width: 500px;
    margin: auto;
}
.filter_by_alphabet {
    padding: 8px 16px;
    background-color: pink;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}
@media (max-width: 768px) {
    .alphabet-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 10px;
    }
}
.filter_names_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 600px;
    margin: auto;
}
.filter_names_category {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #dadada;
    border-radius: 10px;
    margin-bottom: 20px;
    background: white;
    box-shadow: -3px 0px 6px 0px #80808030;
}
.filter_names_category img {
    max-width: 54px;
    height: auto;
    width: 100%;
}
.filter_names_category:hover {
    background-color: #ff0044;
    color: white;
    scale: 1;
    transform: scale(0.9);
    transition: 0.2s ease;
    border: none;
}
.filter_names_category p {
    margin-top: 8px;
}
form > div > div > label {
    display: none !important;
}

.alphabet-slider {
    display: flex;
    align-items: center;
    overflow: hidden;
    max-width: 600px;
    margin: auto;
}
.alphabet-container {
    display: flex;
    width: calc(100% - 80px);
    overflow-x: scroll;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #888 #eee;
}
.alphabet-container a {
    flex: none;
    margin: 0 2px;
    background: #f45689;
    text-decoration: none;
    border-radius: 3px;
    text-align: center;
    color: white;
    border: solid 1px #ff0044;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.alphabet-container a:hover {
    background: #ffffff24;
    color: #ff0044;
    border: solid 1px #ff0044;
    box-shadow: 0px 0px 3px 0px grey;
}
.alphabet-slider-button {
    background: #d8d8d8;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    box-shadow: inset 0px 0px 3px 0px grey;
    border-radius: 3px;
    box-shadow: 0px 0px 3px 0px grey;
    margin-right: 0;
}
.alphabet-slider-button:focus {
    outline: none;
}
.alphabet-container::-webkit-scrollbar {
    height: 8px;
    background: #eee;
}
.alphabet-container::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
    border: 2px solid #eee;
}
.alphabet-container::-webkit-scrollbar {
    display: none;
}
.alphabet-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.alphabet_list {
    width: 100%;
    margin: 0 auto;
    max-width: 676px;
    width: 100%;
    margin: 0 auto;
    display: flex;
}
.left {
    float: left;
}
li,
ul {
    list-style-type: none;
}
.alphabets.M16_white {
    line-height: 44px;
}
.alphabet_list ul li {
    width: 44px;
    height: 44px;
    text-align: center;
    background: #f45689;
    border-radius: 3px;
    margin-right: 8px;
    margin-bottom: 8px;
    cursor: pointer;
	margin-left: 0;
}

.M16_white {
    font-size: 16px;
    color: #fff;
    line-height: 22px;
}
.alphabet_list ul li:hover {
    background: #fc88af;
}
.h1_css {
    text-align: center;
    color: #333;
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 20px;
}
/*
                form {
                    display: grid;
                    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
                    gap: 15px;
                    padding: 20px;
                    background-color: #f4f4f9;
                    border-radius: 8px;
                    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
                }

                select {
                    padding: 8px;
                    border: 2px solid #ccc;
                    border-radius: 4px;
                    background-color: white;
                    font-size: 16px;
                    width: 100%;
                }

                input[type="submit"], .button {
                    background-color: #4CAF50;
                    color: white;
                    border: none;
                    text-align: center;
                    text-decoration: none;
                    display: inline-block;
                    margin: 4px 2px;
                    cursor: pointer;
                    border-radius: 4px;
                }

                input[type="submit"]:hover, .button:hover {
                    background-color: #45a049;
                }

                @media (max-width: 600px) {
                    form {
                        grid-template-columns: 1fr;
                    }
                }
            */
.baby_names_fliters_css {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.baby_names_fliters_css label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

.baby_names_fliters_css > div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.baby_names_fliters_css > div:nth-child(3n),
.baby_names_fliters_css > div:nth-child(3n-1) {
    grid-column: span 2;
}

select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #666;
}

input[type="submit"] {
    width: auto;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

@media (max-width: 768px) {
    .baby_names_fliters_css > div {
        grid-template-columns: 1fr;
    }
}
button.load-more-button.add-more-css {
    background-color: transparent;
    color: #717171;
    font-weight: 700;
    text-transform: capitalize;
    text-decoration: underline;
}
.baby_names_fliters_css .row {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to the next line */
    justify-content: space-between; /* Spaces columns evenly */
}

.baby_names_fliters_css .row div {
    flex: 0 0 48%; /* Each filter takes about half the row */
    margin-bottom: 10px; /* Adds space between rows */
}

@media (max-width: 768px) {
    .baby_names_fliters_css .row div {
        flex: 0 0 48%; /* Ensures two columns are maintained on mobile */
    }
}

.baby-names-table,
.details-table {
    width: 100%;
    border-collapse: collapse;
    margin: auto;
    background-color: #f4f4f9;
    color: #333;
}
.baby-names-table th,
.baby-names-table td,
.details-table th,
.details-table td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: center; /* Centering text in all cells */
    text-transform: capitalize; /* Capitalize the first letter */
}
.baby-names-table tr:nth-child(even),
.details-table tr:nth-child(odd) {
    background-color: #e8eaf6;
}
.baby-names-table tr:hover,
.details-table tr:hover {
    background-color: #c5cae9;
}
.baby-names-table .details-row td {
    background-color: #e3f2fd;
    padding: 15px;
    font-size: 0.95em;
}
.toggle-button {
    background-color: #1976d2;
    color: white;
    border: none;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9em;
}
.toggle-button:hover {
    background-color: #1565c0;
}
.baby-names-table svg {
    width: 24px; /* Adjust size as needed */
    height: 24px;
    vertical-align: middle; /* Aligns icon vertically center */
}
.no_data_success {
    background-color: #ddffdd;
    border-left: 6px solid #04aa6d;
    margin-bottom: 15px;
    padding: 10px;
    max-width: 600px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.button,
button,
fieldset,
input,
select,
textarea {
    margin-bottom: 0;
}
.names_list_table_001_th,
.names_list_table_td {
    text-align: center;
}

.names_list_table_001 {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

.names_list_table_td,
.names_list_table_001_th {
    border: 1px solid #dddddd;
    padding: 8px;
}

.names_list_table_001_tr:nth-child(even) {
    background-color: #dddddd;
}
.names_list_table_001_tr {
    cursor: pointer;
}
tr.names_list_table_001_tr:hover {
    background: #eff9ff;
    box-shadow: inset 0px 0px 10px 0px #00000054;
}
.names_list_table_td_readmore {
    color: white;
    font-size: 25px;
    padding: 0;
}
th.names_list_table_001_th {
    padding: 10px;
    font-size: 14px;
}
.no_data_warning {
    background-color: #ffdddd;
    border-left: 6px solid #f44336;
    margin-bottom: 15px;
    padding: 10px;
    max-width: 600px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pagination {
    margin: 20px 0;
    text-align: center;
}
.pagination a {
    margin: 0 5px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    color: #333;
    text-decoration: none;
}
.pagination a.active {
    font-weight: bold;
    background-color: #f4f4f4;
}
.selected_filters {
    text-align: center;
    margin: 20px 0;
    font-size: 16px;
    color: #333;
}
