        /* Container for the entire component */
        .country-selector-container {
            position: relative;
            width: 250px;
            margin-bottom: 20px;
        }

        /* Style for the main toggle button */
        .country-button {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 15px;
            border: 1px solid #ccc;
            border-radius: 20px;
            cursor: pointer;
            background-color: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .country-button img {
            width: 24px;
            height: 24px;
            border-radius: 50%;
        }

        .country-button .toggle-icon {
            margin-left: auto;
            font-size: 12px;
            transform: rotate(180deg);
            transition: transform 0.3s;
        }
        
        /* Dropdown styling */
        .country-list-dropdown {
            position: absolute;
            top: calc(100% + 10px);
            left: -245px;
            top:-275px;
            width: 490px; 
            padding: 20px;
            background-color: #fff;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            z-index: 100;
        }

        /* Hide the dropdown initially */
        .hidden {
            display: none;
        }

        /* Grid layout for the countries */
        .country-list-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px 15px;
        }

        /* Individual country item styling */
        .countrySelect-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 10px;
            border-radius: 20px;
            cursor: pointer;
            transition: background-color 0.3s, color 0.3s;
            font-size:14px;
        }

        .countrySelect-item img {
            width: 24px;
            height: 24px;
            border-radius: 50%;
        }

        .countrySelect-item:hover {
            background-color: #f0f8ff;
        }

        /* Active state styling for the selected country */
        .countrySelect-item.active {
            background-color: #005BA0;
            color: #fff;
        }

        .countrySelect-item.active img {
            border: 2px solid #fff;
        }

        #footerRegMessage{
            border-style: none;
            text-align: center;  
            color: #fff;
            font-size: 14px;
            
        }
        
        @media (max-width: 767px) {

        .country-list-dropdown {
            position: absolute;
            top: calc(100% + 10px);
            left: 0px;
            top:-390px;
            width: 350px; 
            padding: 20px;
            background-color: #fff;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            z-index: 100;
        }
        
                .country-list-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px 15px;
        }


        }
