.country-trigger {
        width: 100%;
        height: 20px;
        background-color: transparent;
        color: #64748B;
        border: none;
        padding-top: 3px;
        padding-bottom: 3px;
        padding-left: 0px;
        padding-right: 0px;
        font-family: "Ease Standard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-weight: 100;
        font-size: 11px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 4px;
        justify-content: center;
    }

    #countryTrigger:hover {
        background-color: transparent;
        color: #64748B;
    }

    .country-flag {
        font-size: 12px;
    }

    .popup-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        z-index: 1000;
        animation: fadeIn 0.3s ease;
    }

    .popup-overlay.show {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
    }

    .popup-modal {
        background: white;
        border-radius: 20px;
        padding: 30px;
        max-width: 500px;
        width: 90%;
        max-height: 80vh;
        overflow-y: auto;
        position: relative;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        animation: slideIn 0.3s ease;
    }

    .popup-header {
        text-align: center;
        margin-bottom: 25px;
    }

    .popup-title {
        font-size: 1.8rem;
        color: #333;
        margin-bottom: 8px;
    }

    .popup-subtitle {
        color: #666;
        font-size: 1rem;
    }

    .close-btn {
        position: absolute;
        top: 15px;
        right: 20px;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #999;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }

    .close-btn:hover {
        background: #f0f0f0;
        color: #333;
    }

    .search-box {
        width: 100%;
        padding: 12px 20px;
        border: 2px solid #e0e0e0;
        border-radius: 25px;
        font-size: 1rem;
        margin-bottom: 20px;
        outline: none;
        transition: border-color 0.2s ease;
    }

    .search-box:focus {
        border-color: #9333EA;
    }

    .countries-list {
        max-height: 300px;
        overflow-y: auto;
        border: 1px solid #e0e0e0;
        border-radius: 15px;
        background: #fafafa;
    }

    .country-item {
        display: flex;
        align-items: center;
        padding: 12px 20px;
        cursor: pointer;
        transition: background-color 0.2s ease;
        border-bottom: 1px solid #e8e8e8;
    }

    .country-item:last-child {
        border-bottom: none;
    }

    .country-item:hover {
        background: #F5E8FF;
    }

    .country-item.selected {
        background: #9333EA;
        color: white;
    }

    .country-item .flag {
        font-size: 1.2em;
        margin-right: 12px;
    }

    .country-item .name {
        font-size: 1rem;
        font-weight: 500;
    }

    .loading {
        text-align: center;
        padding: 20px;
        color: #666;
    }

    .spinner {
        display: inline-block;
        width: 20px;
        height: 20px;
        border: 2px solid #f3f3f3;
        border-top: 2px solid #9333EA;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-right: 10px;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-50px) scale(0.9);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

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

        100% {
            transform: rotate(360deg);
        }
    }
