  /* phone-input-styles.css */
  #phone-input-root{
    width: 100%;
  }
        .phone-input-modern {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            position: relative;
            width: 100%;
            max-width: 100%;
        }

        .phone-label {
            font-family: 'DM Sans';
            display: block;
            font-size: 1rem; 
            color: #132944;
            margin-bottom: .5rem;
        }

        .phone-input-wrapper {
            display: flex;
            gap: 0px;
            background: white;
            border: 1.5px solid #e5e7eb;
            border-radius: 0.375rem;
            transition: all 0.2s ease;
        }

        .phone-input-wrapper:focus-within {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        .country-selector-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: .375rem .75rem;
            background: #f9fafb;
            border: none;
            border-right: 1.5px solid #e5e7eb;
            border-radius: .375rem 0 0 .375rem;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            color: #374151;
            transition: background 0.2s;
        }

        .country-selector-btn:hover {
            background: #f3f4f6;
        }

        .country-flag {
            width: 24px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .country-flag img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 2px;
        }

        .country-code {
            font-weight: 600;
            color: #111827;
        }

        .dropdown-icon {
            transition: transform 0.2s;
            color: #6b7280;
        }

        .country-dropdown.open .dropdown-icon {
            transform: rotate(180deg);
        }

        .phone-input-field {
            flex: 1;
            padding: .375rem .75rem; 
            border: none;
            outline: none;
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.5;
            color: #111827;
            background: transparent;
            border:1px solid #dee2e6;
            border-radius: 0 .375rem .375rem 0;
                 
        }

        .phone-input-field::placeholder {
            color: #9ca3af;
        }

        /* Dropdown Styles */
        .country-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            width: 100%;
            min-width: 280px;
            background: white;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px);
            transition: all 0.2s ease;
            z-index: 1000;
        }

        .country-dropdown.open {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-search {
            padding: 12px;
            border-bottom: 1px solid #f3f4f6;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .dropdown-search svg {
            color: #9ca3af;
            flex-shrink: 0;
        }

        .search-input {
            flex: 1;
            border: none;
            outline: none;
            font-size: 14px;
            padding: 6px 0;
            background: transparent;
        }

        .search-input::placeholder {
            color: #d1d5db;
        }

        .countries-list {
            max-height: 260px;
            overflow-y: auto;
            padding: 8px 0;
        }

        .country-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: .375rem .75rem;
            cursor: pointer;
            transition: background 0.15s;
        }

        .country-item:hover {
            background: #f9fafb;
        }

        .country-item .country-flag {
            width: 28px;
            height: 20px;
        }

        .country-item .country-flag img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 2px;
        }

        .country-item .country-name {
            flex: 1;
            font-size: 14px;
            color: #374151;
        }

        .country-item .country-dial-code {
            font-size: 13px;
            color: #6b7280;
            font-weight: 500;
        }

        .no-results {
            padding: 20px;
            text-align: center;
            color: #9ca3af;
            font-size: 14px;
        }

        /* Scrollbar styling */
        .countries-list::-webkit-scrollbar {
            width: 6px;
        }

        .countries-list::-webkit-scrollbar-track {
            background: #f3f4f6;
            border-radius: 10px;
        }

        .countries-list::-webkit-scrollbar-thumb {
            background: #d1d5db;
            border-radius: 10px;
        }

        .countries-list::-webkit-scrollbar-thumb:hover {
            background: #9ca3af;
        }

        /* Responsive */
        @media (max-width: 640px) {
            .country-dropdown {
                width: 100%;
                min-width: auto;
            }
            
            .country-item .country-name {
                font-size: 13px;
            }
        }